1856件ヒット
[1-100件を表示]
(0.097秒)
ライブラリ
- ビルトイン (148)
-
cgi
/ core (12) -
cgi
/ session (48) -
cgi
/ session / pstore (12) - csv (120)
- date (988)
- dbm (12)
- digest (12)
- gdbm (12)
-
json
/ add / date (12) -
json
/ add / date _ time (12) - logger (36)
-
net
/ imap (60) - observer (12)
- open-uri (12)
- openssl (60)
-
rubygems
/ commands / update _ command (12) -
rubygems
/ config _ file (12) -
rubygems
/ source _ index (24) -
rubygems
/ source _ info _ cache (12) -
rubygems
/ specification (24) -
rubygems
/ user _ interaction (36) - sdbm (12)
- time (36)
-
webrick
/ httpresponse (72) -
yaml
/ dbm (12)
クラス
- Array (12)
- CGI (12)
-
CGI
:: Session (12) -
CGI
:: Session :: FileStore (12) -
CGI
:: Session :: MemoryStore (12) -
CGI
:: Session :: NullStore (12) -
CGI
:: Session :: PStore (12) - CSV (72)
-
CSV
:: FieldInfo (36) - DBM (12)
- Date (794)
- DateTime (182)
-
Digest
:: Base (12) - Exception (24)
- GDBM (12)
-
Gem
:: Commands :: UpdateCommand (12) -
Gem
:: ConfigFile (12) -
Gem
:: SourceIndex (24) -
Gem
:: SourceInfoCache (12) -
Gem
:: Specification (24) -
Gem
:: StreamUI :: SilentProgressReporter (12) -
Gem
:: StreamUI :: SimpleProgressReporter (12) -
Gem
:: StreamUI :: VerboseProgressReporter (12) - Hash (24)
- Logger (24)
-
Logger
:: Formatter (12) - Module (12)
-
Net
:: IMAP (36) -
Net
:: IMAP :: ContentDisposition (12) -
Net
:: IMAP :: Envelope (12) -
OpenSSL
:: Cipher (12) -
OpenSSL
:: Digest (12) -
OpenSSL
:: HMAC (12) -
OpenSSL
:: X509 :: CRL (24) -
RDoc
:: Options (12) - Random (36)
- Range (40)
- SDBM (12)
- Time (84)
-
WEBrick
:: HTTPResponse (72) -
YAML
:: DBM (12)
モジュール
-
Gem
:: InstallUpdateOptions (12) -
Gem
:: LocalRemoteOptions (12) - Observable (12)
-
OpenURI
:: Meta (12)
キーワード
- + (12)
- << (12)
- <=> (12)
- == (12)
- === (19)
- >> (12)
- [] (12)
-
add
_ observer (12) -
add
_ update _ sources _ option (12) - ajd (12)
- amjd (12)
- append (12)
- asctime (12)
- autoload? (12)
-
backtrace
_ locations (12) - body= (12)
- chunked= (12)
-
content
_ length (12) -
content
_ length= (12) - convert (36)
- converters (12)
- cover? (19)
- ctime (12)
- cwday (12)
- cweek (12)
- cwyear (12)
-
datetime
_ format (24) -
datetime
_ format= (12) - day (12)
-
deconstruct
_ keys (4) - downto (24)
- england (12)
- entries (7)
-
force
_ update (12) - friday? (12)
- gregorian (12)
- gregorian? (12)
- header (24)
- hour (12)
- httpdate (24)
- index (12)
-
install
_ update _ defaults _ str (12) - iso8601 (24)
- italy (12)
- jd (12)
- jisx0301 (24)
- julian (12)
- julian? (12)
-
last
_ update (12) - ld (12)
- leap? (12)
- line (12)
- mday (12)
- min (12)
- minute (12)
- mjd (12)
- mon (12)
- monday? (12)
- month (12)
-
new
_ offset (12) -
new
_ start (12) - next (12)
-
next
_ day (12) -
next
_ month (12) -
next
_ update (12) -
next
_ year (12) - offset (12)
- outdated (12)
- param (12)
-
prev
_ day (12) -
prev
_ month (12) -
prev
_ year (12) - rand (36)
- rfc2822 (24)
- rfc3339 (24)
- rfc822 (24)
- saturday? (12)
- sec (12)
-
sec
_ fraction (12) - second (12)
-
second
_ fraction (12) - sort (12)
- start (12)
- step (24)
- strftime (24)
- succ (12)
- sunday? (12)
- thursday? (12)
-
to
_ a (7) -
to
_ csv (12) -
to
_ date (24) -
to
_ datetime (24) -
to
_ json (24) -
to
_ s (24) -
to
_ time (24) - tuesday? (12)
-
uid
_ sort (12) -
unconverted
_ fields? (12) - update (204)
-
update
_ sources (12) - updated (36)
- upto (24)
- validate (12)
- wday (12)
- wednesday? (12)
-
which
_ to _ update (12) -
write
_ headers? (12) - xmlschema (24)
- yday (12)
- year (12)
- zone (12)
検索結果
先頭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 グレゴリオ暦をつかい始めた日をあらわすユリウス日...