102件ヒット
[101-102件を表示]
(0.109秒)
ライブラリ
- ビルトイン (24)
- date (4)
-
fiddle
/ import (2) - json (1)
-
net
/ ftp (2) -
net
/ http (6) -
net
/ imap (3) -
net
/ smtp (4) - openssl (10)
-
rdoc
/ code _ object (2) -
rdoc
/ context (10) -
rinda
/ rinda (4) -
rinda
/ tuplespace (5) -
rubygems
/ security (18) - time (2)
- un (1)
クラス
- Array (2)
-
CGI
:: Cookie (2) - DateTime (4)
- FalseClass (5)
-
Gem
:: Security :: Policy (13) -
Gem
:: Security :: Signer (5) -
Net
:: FTP (2) -
Net
:: HTTP (6) -
Net
:: IMAP :: ResponseCode (2) -
Net
:: IMAP :: ResponseText (1) -
Net
:: SMTP (4) -
OpenSSL
:: Config (8) -
OpenSSL
:: SSL :: SSLContext (2) -
RDoc
:: CodeObject (2) -
RDoc
:: Context (3) -
RDoc
:: Context :: Section (7) -
Rinda
:: TupleEntry (1) -
Rinda
:: TupleSpace (4) -
Rinda
:: TupleSpaceProxy (4) - Set (2)
- String (2)
- Symbol (2)
- Time (13)
-
WEBrick
:: Cookie (2)
モジュール
キーワード
- & (1)
- - (2)
- == (1)
- [] (1)
- []= (1)
- ^ (1)
-
add
_ value (1) -
auth
_ cram _ md5 (1) -
auth
_ login (1) -
auth
_ plain (1) - authenticate (1)
- casecmp (2)
- casecmp? (2)
-
cert
_ chain (1) -
cert
_ chain= (1) - code (1)
- comment (1)
-
continue
_ timeout= (1) -
current
_ section (1) - data (1)
- each (1)
-
get
_ value (1) - inspect (2)
- intersect? (2)
- intersection (2)
- iso8601 (1)
-
keep
_ alive _ timeout= (1) - key (1)
- key= (1)
- name (1)
- notify (2)
- nsec (1)
-
only
_ signed (1) -
only
_ signed= (1) -
only
_ trusted (1) -
only
_ trusted= (1) -
open
_ timeout= (2) - parent (1)
- read (2)
-
read
_ timeout= (2) - renew (1)
-
sec
_ fraction (1) - second (1)
-
second
_ fraction (1) - section (2)
- section= (1)
- sections (2)
- secure (2)
- secure= (2)
- sequence (1)
-
set
_ comment (1) -
set
_ current _ section (1) - sign (1)
- sizeof (1)
-
ssl
_ timeout= (2) - struct (1)
- subsec (1)
- take (2)
- timeout= (1)
- title (1)
-
to
_ a (1) -
to
_ i (1) -
to
_ json (1) -
to
_ s (1) -
tv
_ nsec (1) -
tv
_ sec (1) -
tv
_ usec (1) - usec (1)
- value (1)
-
verify
_ chain (1) -
verify
_ chain= (1) -
verify
_ data (1) -
verify
_ data= (1) -
verify
_ gem (1) -
verify
_ root (1) -
verify
_ root= (1) -
verify
_ signer (1) -
verify
_ signer= (1) -
wait
_ writable (1) - write (2)
-
write
_ timeout= (1) - xmlschema (1)
- | (1)
検索結果
-
Time
# to _ a -> Array (22.0) -
時刻を10要素の配列で返します。
時刻を10要素の配列で返します。
その要素は順序も含めて以下の通りです。
* sec: 秒 (整数 0-60) (60はうるう秒)
* min: 分 (整数 0-59)
* hour: 時 (整数 0-23)
* mday: 日 (整数)
* mon: 月 (整数 1-12)
* year: 年 (整数 2000年=2000)
* wday: 曜日 (整数 0-6)
* yday: 年内通算日 (整数 1-366)
* isdst: 夏時間であるかどうか (true/false)
* zone: タイムゾーン (文字列)
... -
Time
# -(time) -> Float (13.0) -
自身と time との時刻の差を Float で返します。単位は秒です。
自身と time との時刻の差を Float で返します。単位は秒です。
@param time 自身との差を算出したい Time オブジェクトを指定します。
//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 - t # => 2592000.0
//}