るりまサーチ (Ruby 2.2.0)

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

別のキーワード

  1. openssl integer
  2. asn1 integer
  3. _builtin integer
  4. integer chr
  5. integer new

ライブラリ

クラス

キーワード

検索結果

Time#mon -> Integer (54631.0)

月を整数で返します。

月を整数で返します。

//emlist[][ruby]{
t = Time.local(2000,1,2,3,4,5) # => 2000-01-02 03:04:05 +0900
p t.month # => 1
p t.mon # => 1
//}

Date#mon -> Integer (54613.0)

月を返します (1-12)。

月を返します (1-12)。

Time#month -> Integer (18631.0)

月を整数で返します。

月を整数で返します。

//emlist[][ruby]{
t = Time.local(2000,1,2,3,4,5) # => 2000-01-02 03:04:05 +0900
p t.month # => 1
p t.mon # => 1
//}

Date#month -> Integer (18613.0)

月を返します (1-12)。

月を返します (1-12)。

Time#wday -> Integer (343.0)

曜日を0(日曜日)から6(土曜日)の整数で返します。

曜日を0(日曜日)から6(土曜日)の整数で返します。

//emlist[][ruby]{
p sun = Time.new(2017, 9, 17, 10, 34, 15, '+09:00') # => 2017-09-17 10:34:15 +0900
p sun.wday # => 0
p mon = Time.new(2017, 9, 18, 10, 34, 15, '+09:00') # => 2017-09-18 10:34:15 +0900
p mon.wday ...

絞り込み条件を変える