るりまサーチ

最速Rubyリファレンスマニュアル検索!
649件ヒット [1-100件を表示] (0.114秒)

別のキーワード

  1. _builtin to_i
  2. fiddle to_i
  3. matrix elements_to_i
  4. csv to_i
  5. matrix i

クラス

キーワード

検索結果

<< 1 2 3 ... > >>

Date#-(x) -> Rational | Date (21304.0)

x が日付オブジェクトなら、ふたつの差を Rational で返します。単位は日です。 あるいは x が数値ならば、self より x 日前の日付を返します。

...付オブジェクトなら、ふたつの差を Rational で返します。単位は日です。
あるいは
x が数値ならば、self より x 日前の日付を返します。

@param x 日数、あるいは日付オブジェクト
@raise TypeError x が数値でも日付オブジェクトで...

Time#to_datetime -> DateTime (18403.0)

対応する DateTime オブジェクトを返します。

...対応する DateTime オブジェクトを返します。...

Time#to_time -> Time (18403.0)

対応する Time オブジェクトを返します。

...対応する Time オブジェクトを返します。...

Date#to_datetime -> DateTime (15403.0)

対応する DateTime オブジェクトを返します。

...対応する DateTime オブジェクトを返します。...

DateTime#minute -> Integer (12519.0)

分を返します (0-59)。

...分を返します (0-59)。...

絞り込み条件を変える

DateTime#sec_fraction -> Rational (12503.0)

秒の小数点以下の部分を表す分数を返します。

秒の小数点以下の部分を表す分数を返します。

DateTime#second_fraction -> Rational (12503.0)

秒の小数点以下の部分を表す分数を返します。

秒の小数点以下の部分を表す分数を返します。

Date#strftime(format = &#39;%F&#39;) -> String (12421.0)

与えられた雛型で日付を書式づけます。

...%h, %I, %j, %k, %L, %l,
%M, %m, %N, %n, %P, %p, %Q, %R, %r, %S, %s, %T, %t, %U, %u, %V, %v, %W, %w, %X,
%x, %Y, %y, %Z, %z, %:z, %::z, %:::z, %%, %+

GNU 版にあるような幅指定などもできます。

strftime(3)、および Date.strptime も参照してください。

@param format...

Date#to_time -> Time (12403.0)

対応する Time オブジェクトを返します。

...対応する Time オブジェクトを返します。...

Date#asctime -> String (12303.0)

asctime(3) 書式の文字列を返します (ただし、末尾の "\n\0" は除く)。

...asctime(3) 書式の文字列を返します (ただし、末尾の "\n\0" は除く)。...

絞り込み条件を変える

<< 1 2 3 ... > >>