1696件ヒット
[1-100件を表示]
(0.089秒)
ライブラリ
- ビルトイン (134)
-
cgi
/ core (11) -
cgi
/ session (44) -
cgi
/ session / pstore (11) - csv (110)
- date (902)
- dbm (11)
- digest (11)
- gdbm (11)
-
json
/ add / date (11) -
json
/ add / date _ time (11) - logger (33)
-
net
/ imap (55) - observer (11)
- open-uri (11)
- openssl (55)
-
rubygems
/ commands / update _ command (11) -
rubygems
/ config _ file (11) -
rubygems
/ source _ index (22) -
rubygems
/ source _ info _ cache (11) -
rubygems
/ specification (22) -
rubygems
/ user _ interaction (33) - sdbm (11)
- time (33)
-
webrick
/ httpresponse (66) -
yaml
/ dbm (11)
クラス
- Array (11)
- CGI (11)
-
CGI
:: Session (11) -
CGI
:: Session :: FileStore (11) -
CGI
:: Session :: MemoryStore (11) -
CGI
:: Session :: NullStore (11) -
CGI
:: Session :: PStore (11) - CSV (66)
-
CSV
:: FieldInfo (33) - DBM (11)
- Date (726)
- DateTime (165)
-
Digest
:: Base (11) - Exception (22)
- GDBM (11)
-
Gem
:: Commands :: UpdateCommand (11) -
Gem
:: ConfigFile (11) -
Gem
:: SourceIndex (22) -
Gem
:: SourceInfoCache (11) -
Gem
:: Specification (22) -
Gem
:: StreamUI :: SilentProgressReporter (11) -
Gem
:: StreamUI :: SimpleProgressReporter (11) -
Gem
:: StreamUI :: VerboseProgressReporter (11) - Hash (22)
- Logger (22)
-
Logger
:: Formatter (11) - Module (11)
-
Net
:: IMAP (33) -
Net
:: IMAP :: ContentDisposition (11) -
Net
:: IMAP :: Envelope (11) -
OpenSSL
:: Cipher (11) -
OpenSSL
:: Digest (11) -
OpenSSL
:: HMAC (11) -
OpenSSL
:: X509 :: CRL (22) -
RDoc
:: Options (11) - Random (33)
- Range (35)
- SDBM (11)
- Time (77)
-
WEBrick
:: HTTPResponse (66) -
YAML
:: DBM (11)
モジュール
-
Gem
:: InstallUpdateOptions (11) -
Gem
:: LocalRemoteOptions (11) - Observable (11)
-
OpenURI
:: Meta (11)
キーワード
- + (11)
- << (11)
- <=> (11)
- == (11)
- === (17)
- >> (11)
- [] (11)
-
add
_ observer (11) -
add
_ update _ sources _ option (11) - ajd (11)
- amjd (11)
- append (11)
- asctime (11)
- autoload? (11)
-
backtrace
_ locations (11) - body= (11)
- chunked= (11)
-
content
_ length (11) -
content
_ length= (11) - convert (33)
- converters (11)
- cover? (17)
- ctime (11)
- cwday (11)
- cweek (11)
- cwyear (11)
-
datetime
_ format (22) -
datetime
_ format= (11) - day (11)
- downto (22)
- england (11)
- entries (6)
-
force
_ update (11) - friday? (11)
- gregorian (11)
- gregorian? (11)
- header (22)
- hour (11)
- httpdate (22)
- index (11)
-
install
_ update _ defaults _ str (11) - iso8601 (22)
- italy (11)
- jd (11)
- jisx0301 (22)
- julian (11)
- julian? (11)
-
last
_ update (11) - ld (11)
- leap? (11)
- line (11)
- mday (11)
- min (11)
- minute (11)
- mjd (11)
- mon (11)
- monday? (11)
- month (11)
-
new
_ offset (11) -
new
_ start (11) - next (11)
-
next
_ day (11) -
next
_ month (11) -
next
_ update (11) -
next
_ year (11) - offset (11)
- outdated (11)
- param (11)
-
prev
_ day (11) -
prev
_ month (11) -
prev
_ year (11) - rand (33)
- rfc2822 (22)
- rfc3339 (22)
- rfc822 (22)
- saturday? (11)
- sec (11)
-
sec
_ fraction (11) - second (11)
-
second
_ fraction (11) - sort (11)
- start (11)
- step (22)
- strftime (22)
- succ (11)
- sunday? (11)
- thursday? (11)
-
to
_ a (6) -
to
_ csv (11) -
to
_ date (22) -
to
_ datetime (22) -
to
_ json (22) -
to
_ s (22) -
to
_ time (22) - tuesday? (11)
-
uid
_ sort (11) -
unconverted
_ fields? (11) - update (187)
-
update
_ sources (11) - updated (33)
- upto (22)
- validate (11)
- wday (11)
- wednesday? (11)
-
which
_ to _ update (11) -
write
_ headers? (11) - xmlschema (22)
- yday (11)
- year (11)
- zone (11)
検索結果
先頭5件
-
Date
# -(x) -> Rational | Date (35203.0) -
x が日付オブジェクトなら、ふたつの差を Rational で返します。単位は日です。 あるいは x が数値ならば、self より x 日前の日付を返します。
x が日付オブジェクトなら、ふたつの差を Rational で返します。単位は日です。
あるいは
x が数値ならば、self より x 日前の日付を返します。
@param x 日数、あるいは日付オブジェクト
@raise TypeError x が数値でも日付オブジェクトでもない場合に発生します。 -
Date
# to _ date -> Date (23319.0) -
対応する Date オブジェクトを返します。
...対応する Date オブジェクトを返します。... -
Date
# to _ datetime -> DateTime (23301.0) -
対応する DateTime オブジェクトを返します。
...対応する DateTime オブジェクトを返します。... -
Date
# httpdate -> String (23201.0) -
2616 (1123) で定められた書式の文字列を返します。
2616 (1123) で定められた書式の文字列を返します。 -
Gem
:: Specification # date -> Time (18202.0) -
日付を返します。
日付を返します。 -
Net
:: IMAP :: Envelope # date -> String | nil (18202.0) -
日付の文字列を返します。
日付の文字列を返します。
エンベロープに存在しないときは nil を返します。 -
Date
# <<(n) -> Date (17406.0) -
self より n ヶ月前の日付オブジェクトを返します。 n は数値でなければなりません。
...date'
Date.new(2001,2,3) << 1 #=> #<Date: 2001-01-03 ...>
Date.new(2001,2,3) << -2 #=> #<Date: 2001-04-03 ...>
//}
対応する月に同じ日が存在しない時は、代わりにその月の末日が使われます。
//emlist[][ruby]{
require 'date'
Date.new(2001,3,28) << 1 #=> #<Date......: 2001-02-28 ...>
Date.new(2001,3,31) << 1 #=> #<Date: 2001-02-28 ...>
//}
このことは以下のように、もしかすると予期しない振る舞いをするかもしれません。
//emlist[][ruby]{
require 'date'
Date.new(2001,3,31) << 2 #=> #<Date: 2001-01-31 ...>
Date.new(200......1,3,31) << 1 << 1 #=> #<Date: 2001-01-28 ...>
Date.new(2001,3,31) << 1 << -1 #=> #<Date: 2001-03-28 ...>
//}
Date#prev_month も参照してください。
@param n 月数... -
Date
# >>(n) -> Date (17406.0) -
self から n ヶ月後の日付オブジェクトを返します。 n は数値でなければなりません。
...ruby]{
require 'date'
Date.new(2001,2,3) >> 1 #=> #<Date: 2001-03-03 ...>
Date.new(2001,2,3) >> -2 #=> #<Date: 2000-12-03 ...>
//}
対応する月に同じ日が存在しない時は、代わりにその月の末日が使われます。
//emlist[][ruby]{
require 'date'
Date.new(2001,1,28)......e: 2001-02-28 ...>
Date.new(2001,1,31) >> 1 #=> #<Date: 2001-02-28 ...>
//}
このことは以下のように、もしかすると予期しない振る舞いをするかもしれません。
//emlist[][ruby]{
require 'date'
Date.new(2001,1,31) >> 2 #=> #<Date: 2001-03-31 ...>
Date.new(20......01,1,31) >> 1 >> 1 #=> #<Date: 2001-03-28 ...>
Date.new(2001,1,31) >> 1 >> -1 #=> #<Date: 2001-01-28 ...>
//}
Date#next_month も参照してください。
@param n 月数... -
Date
# new _ start(start = Date :: ITALY) -> Date (17325.0) -
self を複製して、その改暦日を設定しなおします。 引数を省略した場合は、Date::ITALY (1582年10月15日) になります。
...self を複製して、その改暦日を設定しなおします。
引数を省略した場合は、Date::ITALY (1582年10月15日) になります。
Date.new も参照してください。
@param start グレゴリオ暦をつかい始めた日をあらわすユリウス日... -
Date
# next _ year(n = 1) -> Date (17286.0) -
n 年後を返します。
...相当します。
//emlist[例][ruby]{
require 'date'
Date.new(2001,2,3).next_year #=> #<Date: 2002-02-03 ...>
Date.new(2008,2,29).next_year #=> #<Date: 2009-02-28 ...>
Date.new(2008,2,29).next_year(4) #=> #<Date: 2012-02-29 ...>
//}
Date#>> も参照してください。
@param n 年...