2951件ヒット
[201-300件を表示]
(0.092秒)
ライブラリ
- ビルトイン (1020)
- benchmark (72)
-
cgi
/ core (24) - csv (12)
- date (266)
-
drb
/ timeridconv (24) - expect (24)
-
fiddle
/ import (12) -
io
/ console (24) -
io
/ wait (36) -
json
/ add / date _ time (12) -
json
/ add / time (12) - logger (84)
-
minitest
/ unit (2) - mkmf (12)
- monitor (18)
-
net
/ ftp (90) -
net
/ http (134) -
net
/ imap (12) -
net
/ pop (48) -
net
/ smtp (48) - open-uri (12)
- openssl (288)
- optparse (24)
- pathname (59)
- psych (12)
- rake (60)
- resolv (12)
-
rinda
/ tuplespace (24) -
rubygems
/ package / tar _ header (12) -
rubygems
/ remote _ fetcher (12) -
rubygems
/ security (12) -
rubygems
/ specification (36) -
rubygems
/ timer (12) - shell (36)
-
shell
/ command-processor (36) -
shell
/ filter (36) - socket (12)
-
syslog
/ logger (24) - thread (2)
- time (60)
- timeout (16)
-
webrick
/ httprequest (12) -
webrick
/ httpresponse (12) -
webrick
/ httpservlet / filehandler (12) -
webrick
/ log (24) -
win32
/ registry (24) - win32ole (12)
- zlib (24)
クラス
- Array (12)
-
Benchmark
:: Tms (72) - CGI (24)
-
CGI
:: Cookie (24) - CSV (12)
-
DRb
:: TimerIdConv (24) - Date (60)
- DateTime (182)
- File (47)
-
File
:: Stat (48) -
Gem
:: Package :: TarHeader (12) -
Gem
:: RemoteFetcher (12) -
Gem
:: Security :: Policy (12) -
Gem
:: Specification (36) - IO (84)
- Integer (24)
- Logger (48)
-
Logger
:: Formatter (36) -
MiniTest
:: Unit (2) - Monitor (6)
-
MonitorMixin
:: ConditionVariable (12) - Mutex (2)
-
Net
:: FTP (60) -
Net
:: FTP :: MLSxEntry (30) -
Net
:: HTTP (134) -
Net
:: IMAP (12) -
Net
:: POP3 (48) -
Net
:: SMTP (48) - Object (24)
-
OpenSSL
:: OCSP :: BasicResponse (24) -
OpenSSL
:: PKCS7 :: SignerInfo (12) -
OpenSSL
:: SSL :: SSLContext (60) -
OpenSSL
:: SSL :: Session (48) -
OpenSSL
:: X509 :: CRL (48) -
OpenSSL
:: X509 :: Certificate (48) -
OpenSSL
:: X509 :: Revoked (24) -
OpenSSL
:: X509 :: Store (12) -
OpenSSL
:: X509 :: StoreContext (12) - OptionParser (24)
- Pathname (59)
-
Process
:: Tms (96) -
Psych
:: ScalarScanner (12) -
Rake
:: EarlyTime (24) -
Rake
:: FileCreationTask (12) -
Rake
:: FileTask (12) -
Rake
:: Task (12) - Random (36)
-
Resolv
:: DNS (12) -
Rinda
:: TupleEntry (24) - Shell (36)
-
Shell
:: CommandProcessor (36) -
Shell
:: Filter (36) -
Socket
:: AncillaryData (12) - String (24)
-
Syslog
:: Logger (12) -
Syslog
:: Logger :: Formatter (12) -
Thread
:: ConditionVariable (12) -
Thread
:: Mutex (10) - Time (783)
- UnboundMethod (12)
-
WEBrick
:: Cookie (24) -
WEBrick
:: HTTPRequest (12) -
WEBrick
:: HTTPResponse (12) -
WEBrick
:: HTTPServlet :: DefaultFileHandler (12) -
WEBrick
:: Log (24) -
WIN32OLE
_ TYPE (12) -
Win32
:: Registry (24) -
Zlib
:: GzipFile (12) -
Zlib
:: GzipWriter (12)
モジュール
-
Fiddle
:: Importer (12) - Kernel (40)
-
OpenURI
:: Meta (12)
キーワード
- % (12)
- * (24)
- + (12)
- - (24)
- <=> (24)
- [] (18)
- []= (12)
-
_ dump (12) - accept (12)
-
add
_ runtime _ dependency (12) -
add
_ status (12) - append (12)
- asctime (24)
- atime (54)
- birthtime (34)
- call (24)
- ceil (6)
-
continue
_ timeout (12) -
continue
_ timeout= (12) - converters (12)
- create (10)
- cstime (24)
- cstime= (12)
- ctime (78)
- cutime (24)
- cutime= (12)
- date (12)
-
datetime
_ format (24) -
datetime
_ format= (24) - day (12)
-
deconstruct
_ keys (4) -
default
_ event _ sources (12) - dst? (12)
-
each
_ key (12) - eql? (12)
- expect (24)
- expires (36)
- expires= (36)
- facts (10)
-
fetch
_ path (12) - floor (6)
-
flush
_ sessions (12) - format (12)
- formatter (12)
- formatter= (24)
- friday? (12)
- getgm (12)
- getlocal (24)
- getutc (12)
- gmt? (12)
-
gmt
_ offset (12) - gmtime (12)
- gmtoff (12)
- hash (12)
- header (12)
- hour (24)
- httpdate (12)
- inspect (18)
- isdst (12)
- iso8601 (24)
- jisx0301 (12)
-
keep
_ alive _ timeout (12) -
keep
_ alive _ timeout= (12) -
last
_ modified (12) -
last
_ update (12) -
last
_ update= (12) - localtime (24)
- mday (12)
- min (24)
- minute (12)
- modified? (12)
- modify (10)
- mon (12)
- monday? (12)
- month (12)
- mtime (90)
- mtime= (12)
-
new
_ offset (12) -
next
_ update (12) -
next
_ update= (12) -
not
_ after (12) -
not
_ after= (12) -
not
_ before (12) -
not
_ before= (12) -
not
_ modified? (12) - nsec (12)
- offset (12)
-
open
_ timeout (48) -
open
_ timeout= (48) - out (12)
-
parse
_ time (12) - rand (36)
- raw (12)
- raw! (12)
-
read
_ timeout (48) -
read
_ timeout= (48) - reject (12)
-
request
_ time (12) - rfc2822 (12)
- rfc3339 (12)
- rfc822 (12)
- round (12)
-
runtime
_ dependencies (12) - saturday? (12)
- sec (24)
-
sec
_ fraction (12) - second (12)
-
second
_ fraction (12) -
signed
_ time (12) - sleep (12)
-
source
_ location (12) -
ssl
_ timeout (24) -
ssl
_ timeout= (24) -
start
_ time (1) -
start
_ time= (1) - status (12)
- stime (24)
- stime= (12)
- strftime (24)
- struct (12)
- subsec (12)
- succ (7)
- sunday? (12)
- test (18)
- thursday? (12)
- time (36)
- time= (48)
-
time
_ format (12) -
time
_ format= (12) - timeout (40)
- timeout= (24)
- timeouts= (12)
- times (24)
-
to
_ a (24) -
to
_ date (12) -
to
_ datetime (24) -
to
_ f (12) -
to
_ i (12) -
to
_ id (12) -
to
_ json (24) -
to
_ obj (12) -
to
_ r (12) -
to
_ s (24) -
to
_ time (24) - tuesday? (12)
-
tv
_ nsec (12) -
tv
_ sec (12) -
tv
_ usec (12) - usec (12)
- utc (12)
- utc? (12)
-
utc
_ offset (12) - utime (54)
- utime= (12)
-
verify
_ gem (12) - wait (36)
-
wait
_ for _ cond (6) -
wait
_ readable (12) -
wait
_ writable (12) - wday (12)
- wednesday? (12)
-
write
_ timeout (7) -
write
_ timeout= (7) - wtime (12)
- xmlschema (24)
- yday (12)
- year (12)
- zone (24)
検索結果
先頭5件
-
Time
# -(sec) -> Time (21113.0) -
自身より sec 秒だけ前の時刻を返します。
...自身より sec 秒だけ前の時刻を返します。
@param sec 実数を秒を単位として指定します。
//emlist[][ruby]{
p t = Time.local(2000) # => 2000-01-01 00:00:00 +0900
p t2 = t + 2592000 # => 2000-01-31 00:00:00 +0900
p t2 - 2592000 # => 2000-01-01 00:00:00 +09... -
Time
# +(other) -> Time (21108.0) -
self より other 秒だけ後の時刻を返します。
...self より other 秒だけ後の時刻を返します。
@param other 自身からの秒数を数値で指定します。
//emlist[][ruby]{
p t = Time.local(2000) # => 2000-01-01 00:00:00 +0900
p t + (60 * 60 * 24) # => 2000-01-02 00:00:00 +0900
//}... -
Time
# iso8601(fractional _ seconds = 0) -> String (21049.0) -
XML Schema で定義されている dateTime として 表現される形式の文字列を返します。
...ML Schema で定義されている dateTime として
表現される形式の文字列を返します。
XML Schema で定義されている dateTime として
表現される形式の文字列をパースするためのクラスメソッド
Time.iso8601, Time.xmlschema もあります。
@param......ただし TZD は Z または [+-]hh:mm です。
使用例
require 'time'
iso8601_time = '2008-08-31T12:34:56+09:00'
t = Time.iso8601(iso8601_time)
p t.xmlschema #=> "2008-08-31T03:34:56Z"
p t.xmlschema(9) #=> "2008-08-31T03:34:56.000000000Z"
@see Time.iso8601, Time.xmlschema... -
Time
# xmlschema(fractional _ seconds = 0) -> String (21049.0) -
XML Schema で定義されている dateTime として 表現される形式の文字列を返します。
...ML Schema で定義されている dateTime として
表現される形式の文字列を返します。
XML Schema で定義されている dateTime として
表現される形式の文字列をパースするためのクラスメソッド
Time.iso8601, Time.xmlschema もあります。
@param......ただし TZD は Z または [+-]hh:mm です。
使用例
require 'time'
iso8601_time = '2008-08-31T12:34:56+09:00'
t = Time.iso8601(iso8601_time)
p t.xmlschema #=> "2008-08-31T03:34:56Z"
p t.xmlschema(9) #=> "2008-08-31T03:34:56.000000000Z"
@see Time.iso8601, Time.xmlschema... -
Time
# eql?(other) -> bool (21047.0) -
other が Time かそのサブクラスのインスタンスであり自身と時刻が等しい場合に true を返します。そうでない場合に false を返します。
...er が Time かそのサブクラスのインスタンスであり自身と時刻が等しい場合に
true を返します。そうでない場合に false を返します。
@param other 自身と比較したい時刻を Time オブジェクトを指定します。
//emlist[][ruby]{
p Time.local......(2000, 1, 1).eql?(Time.local(2000, 1, 1)) # => true
p Time.local(2000, 1, 1).eql?(Time.local(2000, 1, 2)) # => false
//}... -
Time
# rfc2822 -> String (21047.0) -
2822 で定義されている date-time として表現される形式の文字列を 返します。
...されている date-time として表現される形式の文字列を
返します。
@return 以下の形式の文字列を返します。
//emlist{
day-of-week, DD month-name CCYY hh:mm:ss zone
//}
ただし zone は [+-]hhmm です。
self が UTC time の場合、zone は +0......000 になります。
使用例
require 'time'
iso8601_time = '2008-08-31T12:34:56+09:00'
t = Time.iso8601(iso8601_time)
p t.rfc2822 #=> "Sun, 31 Aug 2008 03:34:56 -0000"... -
Time
# rfc822 -> String (21047.0) -
2822 で定義されている date-time として表現される形式の文字列を 返します。
...されている date-time として表現される形式の文字列を
返します。
@return 以下の形式の文字列を返します。
//emlist{
day-of-week, DD month-name CCYY hh:mm:ss zone
//}
ただし zone は [+-]hhmm です。
self が UTC time の場合、zone は +0......000 になります。
使用例
require 'time'
iso8601_time = '2008-08-31T12:34:56+09:00'
t = Time.iso8601(iso8601_time)
p t.rfc2822 #=> "Sun, 31 Aug 2008 03:34:56 -0000"... -
Time
# wday -> Integer (21043.0) -
曜日を0(日曜日)から6(土曜日)の整数で返します。
...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 # => 1
p tue = Time.new(......wed = Time.new(2017, 9, 20, 10, 34, 15, '+09:00') # => 2017-09-20 10:34:15 +0900
p wed.wday # => 3
p thu = Time.new(2017, 9, 21, 10, 34, 15, '+09:00') # => 2017-09-21 10:34:15 +0900
p thu.wday # => 4
p fri = Time.new(......2017, 9, 22, 10, 34, 15, '+09:00') # => 2017-09-22 10:34:15 +0900
p fri.wday # => 5
p sat = Time.new(2017, 9, 23, 10, 34, 15, '+09:00') # => 2017-09-23 10:34:15 +0900
p sat.wday # => 6
//}... -
Time
# yday -> Integer (21043.0) -
1月1日を1とした通算日(1から366まで)を整数で返します。
...//emlist[][ruby]{
p Time.mktime(2000, 1, 1).yday # => 1
//}
うるう年の場合は、2月29日も含めた通算日を返します。
//emlist[うるう年でない場合][ruby]{
p Time.mktime(2003, 1, 1).yday # => 1
p Time.mktime(2003, 3, 1).yday # => 60
p Time.mktime(2003, 12, 31).yday......# => 365
//}
//emlist[うるう年の場合][ruby]{
p Time.mktime(2004, 1, 1).yday # => 1
p Time.mktime(2004, 2, 29).yday # => 60
p Time.mktime(2004, 12, 31).yday # => 366
//}...