3件ヒット
[1-3件を表示]
(0.136秒)
検索結果
先頭3件
-
Date
. today(start = Date :: ITALY) -> Date (54961.0) -
現在の日付に相当する日付オブジェクトを生成します。
現在の日付に相当する日付オブジェクトを生成します。
@param start グレゴリオ暦をつかい始めた日をあらわすユリウス日
//emlist[例][ruby]{
require 'date'
Date.today # => #<Date: 2017-09-20 ...>
//} -
DateTime
. today(start = Date :: ITALY) -> Date (54907.0) -
このクラスでは利用できません。
このクラスでは利用できません。
DateTime.now を参照してください。
@param start グレゴリオ暦をつかい始めた日をあらわすユリウス日 -
Range
. new(first , last , exclude _ end = false) -> Range (9748.0) -
first から last までの範囲オブジェクトを生成して返しま す。
first から last までの範囲オブジェクトを生成して返しま
す。
exclude_end が真ならば終端を含まない範囲オブジェクトを生
成します。exclude_end 省略時には終端を含みます。
@param first 最初のオブジェクト
@param last 最後のオブジェクト
@param exclude_end 真をセットした場合終端を含まない範囲オブジェクトを生成します
@raise ArgumentError first <=> last が nil の場合に発生します
//emlist[例: 整数の範囲オブジェクトの場合][ruby]{
Range.new(...