2957件ヒット
[1-100件を表示]
(0.151秒)
種類
ライブラリ
- ビルトイン (917)
- benchmark (88)
-
cgi
/ core (22) - date (253)
- etc (55)
- expect (22)
-
fiddle
/ import (11) - fileutils (33)
-
io
/ console (22) -
io
/ wait (33) - logger (74)
- mkmf (11)
- monitor (14)
-
net
/ ftp (60) -
net
/ http (83) -
net
/ imap (11) - objspace (11)
- open-uri (11)
- openssl (429)
- optparse (44)
- profiler (6)
- psych (11)
- rake (66)
- resolv (11)
-
rinda
/ tuplespace (22) -
rubygems
/ remote _ fetcher (11) -
rubygems
/ security (11) -
rubygems
/ specification (11) -
rubygems
/ timer (11) - shell (36)
-
shell
/ command-processor (36) -
shell
/ filter (36) - socket (129)
-
syslog
/ logger (11) - thread (2)
- time (55)
- timeout (41)
-
webrick
/ accesslog (22) -
webrick
/ httpresponse (11) -
webrick
/ httpservlet / filehandler (11) -
webrick
/ log (22) -
win32
/ registry (11) - win32ole (44)
- zlib (22)
クラス
-
Benchmark
:: Tms (66) - CGI (22)
-
CGI
:: Cookie (22) - Data (4)
- Date (33)
- DateTime (220)
- File (104)
-
File
:: Stat (44) -
Gem
:: RemoteFetcher (11) -
Gem
:: Security :: Policy (11) -
Gem
:: Specification (11) - IO (88)
- Integer (11)
- Logger (41)
-
Logger
:: Formatter (33) - Monitor (3)
-
MonitorMixin
:: ConditionVariable (11) - Mutex (2)
-
Net
:: FTP (33) -
Net
:: FTP :: MLSxEntry (27) -
Net
:: HTTP (83) -
Net
:: IMAP (11) - Object (11)
-
OpenSSL
:: ASN1 :: GeneralizedTime (22) -
OpenSSL
:: ASN1 :: UTCTime (22) -
OpenSSL
:: OCSP :: BasicResponse (22) -
OpenSSL
:: PKCS7 :: SignerInfo (11) -
OpenSSL
:: SSL :: SSLContext (55) -
OpenSSL
:: SSL :: Session (44) -
OpenSSL
:: X509 :: CRL (44) -
OpenSSL
:: X509 :: Certificate (44) -
OpenSSL
:: X509 :: Revoked (22) -
OpenSSL
:: X509 :: Store (11) -
OpenSSL
:: X509 :: StoreContext (11) - OptionParser (44)
-
Process
:: Tms (44) -
Psych
:: ScalarScanner (11) -
Rake
:: EarlyTime (22) -
Rake
:: FileCreationTask (11) -
Rake
:: FileTask (11) - Random (22)
-
Resolv
:: DNS (11) -
Rinda
:: TupleEntry (22) - Shell (36)
-
Shell
:: CommandProcessor (36) -
Shell
:: Filter (36) - Socket (66)
-
Socket
:: AncillaryData (11) -
Syslog
:: Logger :: Formatter (11) - TCPSocket (8)
- Thread (11)
-
Thread
:: ConditionVariable (11) -
Thread
:: Mutex (9) - Time (387)
- UnboundMethod (11)
-
WEBrick
:: Cookie (11) -
WEBrick
:: HTTPResponse (11) -
WEBrick
:: HTTPServlet :: DefaultFileHandler (11) -
WEBrick
:: Log (22) -
WIN32OLE
_ TYPE (11) -
WIN32OLE
_ VARIANT (11) -
Win32
:: Registry (11) -
Zlib
:: GzipFile (11) -
Zlib
:: GzipWriter (11)
モジュール
- Benchmark (22)
- Etc (55)
-
Fiddle
:: Importer (11) -
File
:: Constants (11) - FileUtils (22)
-
GC
:: Profiler (44) - Kernel (105)
- ObjectSpace (11)
-
OpenSSL
:: ASN1 (66) -
OpenSSL
:: OCSP (11) -
OpenSSL
:: X509 (22) -
OpenURI
:: Meta (11) - Process (176)
- Rake (11)
-
Socket
:: Constants (44) - Timeout (19)
-
WEBrick
:: AccessLog (11) -
WIN32OLE
:: VARIANT (11)
キーワード
- - (11)
- <=> (22)
- AccessLog (11)
-
CLF
_ TIME _ FORMAT (11) -
CLOCK
_ BOOTTIME (11) -
CLOCK
_ BOOTTIME _ ALARM (11) -
CLOCK
_ MONOTONIC (11) -
CLOCK
_ PROCESS _ CPUTIME _ ID (11) -
CLOCK
_ REALTIME (11) -
CLOCK
_ REALTIME _ ALARM (11) -
CLOCK
_ REALTIME _ COARSE (11) -
CLOCK
_ REALTIME _ FAST (11) -
CLOCK
_ REALTIME _ PRECISE (11) -
CLOCK
_ THREAD _ CPUTIME _ ID (11) -
CLOCK
_ UPTIME (11) -
CLOCK
_ UPTIME _ FAST (11) -
CLOCK
_ UPTIME _ PRECISE (11) -
CLOCK
_ UPTIME _ RAW (11) -
CLOCK
_ UPTIME _ RAW _ APPROX (11) - EARLY (11)
- EarlyTime (11)
- FileUtils (11)
- Float (6)
- GENERALIZEDTIME (11)
- GeneralizedTime (33)
-
IFF
_ DISABLE _ NETPOLL (22) -
IP
_ TTL (22) - NOATIME (11)
- NOTIME (11)
-
PC
_ TIMESTAMP _ RESOLUTION (11) -
Profiler
_ _ (6) - Ruby用語集 (11)
-
SC
_ DELAYTIMER _ MAX (11) -
SC
_ REALTIME _ SIGNALS (11) -
SC
_ XOPEN _ REALTIME (11) -
SC
_ XOPEN _ REALTIME _ THREADS (11) -
TCP
_ KEEPIDLE (22) -
TCP
_ KEEPINTVL (22) - UTCTIME (11)
- UTCTime (33)
-
VT
_ DATE (11) -
V
_ ERR _ CERT _ HAS _ EXPIRED (11) -
V
_ ERR _ CERT _ NOT _ YET _ VALID (11) - WIN32OLERuntimeError (11)
- [] (18)
- []= (11)
-
_ dump (11) -
_ strptime (11) - accept (22)
-
add
_ runtime _ dependency (11) -
add
_ status (11) - append (11)
- atime (51)
- benchmark (11)
- birthtime (31)
- call (22)
- ceil (5)
- civil (11)
-
clock
_ gettime (11) - commercial (11)
-
continue
_ timeout (11) -
count
_ tdata _ objects (11) - create (9)
- cstime (22)
- ctime (51)
- cutime (22)
-
datetime
_ format (22) -
datetime
_ format= (22) -
default
_ event _ sources (11) - define (4)
- dst? (11)
- eql? (11)
- expect (22)
- expires (11)
- expires= (33)
- facts (9)
-
fetch
_ path (11) -
fiddle
/ import (11) - floor (5)
-
flush
_ sessions (11) - format (22)
- formatter (11)
- friday? (11)
- getlocal (22)
- gmt? (11)
- gmtime (11)
-
handle
_ interrupt (11) - header (11)
- httpdate (11)
- isdst (11)
- iso8601 (22)
- jd (11)
- jisx0301 (11)
-
keep
_ alive _ timeout (11) -
keep
_ alive _ timeout= (11) -
last
_ modified (11) -
last
_ update (11) -
last
_ update= (11) - local (22)
- localtime (22)
- lutime (7)
- mktime (22)
- modified? (11)
- modify (9)
- monday? (11)
- mtime (73)
- mtime= (11)
- new (114)
-
next
_ update (11) -
next
_ update= (11) -
not
_ after (11) -
not
_ after= (11) -
not
_ before (11) -
not
_ before= (11) -
not
_ modified? (11) - now (11)
- offset (11)
- open (4)
-
open
_ timeout (22) - ordinal (11)
- out (11)
- parse (11)
-
parse
_ time (11) - profile (6)
- rand (22)
- raw (11)
- raw! (11)
-
raw
_ data (11) -
rb
_ thread _ select (1) -
rb
_ thread _ wait _ for (11) -
rb
_ time _ timespec _ new (9) -
read
_ timeout (22) - realtime (11)
- reject (22)
-
remove
_ entry _ secure (11) - report (11)
- result (11)
- rfc2822 (11)
- rfc3339 (11)
- rfc822 (11)
-
ruby 1
. 8 . 2 feature (11) - saturday? (11)
-
sec
_ fraction (11) -
second
_ fraction (11) - select (22)
-
signed
_ time (11) - sleep (11)
-
source
_ location (11) - sprintf (11)
-
ssl
_ timeout (22) -
ssl
_ timeout= (22) - status (11)
- stime (22)
- strftime (22)
- strptime (44)
- struct (11)
- subsec (11)
- sunday? (11)
- tcp (22)
- test (40)
- thursday? (11)
- time= (44)
-
time
_ format (11) -
time
_ format= (11) - timeofday (11)
- timeout (63)
- timeout= (22)
- timeouts= (11)
- times (11)
-
to
_ f (11) -
to
_ r (11) -
to
_ s (11) - today (11)
-
total
_ time (11) - touch (11)
- tuesday? (11)
- utc (11)
- utc? (11)
- utime (51)
-
verify
_ gem (11) - wait (33)
-
wait
_ for _ cond (3) -
wait
_ readable (11) -
wait
_ writable (11) - wednesday? (11)
-
write
_ timeout (6) - wtime (11)
- xmlschema (44)
検索結果
先頭5件
-
Time
. strptime(date , format , now=self . now) -> Time (32548.0) -
文字列を Date._strptime を用いて Time オブジェクト に変換します。
...time を用いて Time オブジェクト
に変換します。
require 'time'
Time.strptime('2001-02-03T04:05:06+09:00', '%Y-%m-%dT%H:%M:%S%z')
#=> 2001-02-03 06:05:06 +0900
ブロックを渡すと年の部分をブロックによって変換できます。
require 'time'
Time.strptime....../18 4:13:00', '%Y/%m/%d %T'){|y|
if y > 100 then y
elsif y >= 69 then y + 1900
else y + 2000
end
}
#=> 1991-05-18 04:13:00 +0900
Time.strptime('01/5/18 4:13:00', '%Y/%m/%d %T'){|y|
if y > 100 then y
elsif y >= 69 then y + 1900
else y + 2000
end
}
#=> 2......001-05-18 04:13:00 +0900
詳しくは DateTime.strptime, Date.strptime を見てください。
@param date 時刻を表す文字列
@param format 書式文字列... -
Time
. strptime(date , format , now=self . now) {|y| . . . } -> Time (32548.0) -
文字列を Date._strptime を用いて Time オブジェクト に変換します。
...time を用いて Time オブジェクト
に変換します。
require 'time'
Time.strptime('2001-02-03T04:05:06+09:00', '%Y-%m-%dT%H:%M:%S%z')
#=> 2001-02-03 06:05:06 +0900
ブロックを渡すと年の部分をブロックによって変換できます。
require 'time'
Time.strptime....../18 4:13:00', '%Y/%m/%d %T'){|y|
if y > 100 then y
elsif y >= 69 then y + 1900
else y + 2000
end
}
#=> 1991-05-18 04:13:00 +0900
Time.strptime('01/5/18 4:13:00', '%Y/%m/%d %T'){|y|
if y > 100 then y
elsif y >= 69 then y + 1900
else y + 2000
end
}
#=> 2......001-05-18 04:13:00 +0900
詳しくは DateTime.strptime, Date.strptime を見てください。
@param date 時刻を表す文字列
@param format 書式文字列... -
OpenSSL
:: SSL :: Session # time -> Time (30408.0) -
セッションが確立された時刻を返します。
...セッションが確立された時刻を返します。
@see OpenSSL::SSL::Session#time=,
OpenSSL::SSL::Session#timeout... -
Time
# localtime -> self (30330.0) -
タイムゾーンを地方時に設定します。
...とする整数か、"+HH:MM" "-HH:MM" 形式
の文字列で指定します。
Time#localtime, Time#gmtime の挙動はシステムの
localtime(3) の挙動に依存します。Time クラ
スでは時刻を起算時からの経過秒数として保持していますが、ある......。システムを越えて Time オブジェクトを受け
渡す場合には注意する必要があります。
//emlist[][ruby]{
p t = Time.utc(2000, "jan", 1, 20, 15, 1) # => 2000-01-01 20:15:01 UTC
p t.utc? # => true
p t.localtime......# => 2000-01-02 05:15:01 +0900
p t.utc? # => false
p t.localtime("+09:00") # => 2000-01-02 05:15:01 +0900
p t.utc? # => false
//}... -
Time
# localtime(utc _ offset) -> self (30330.0) -
タイムゾーンを地方時に設定します。
...とする整数か、"+HH:MM" "-HH:MM" 形式
の文字列で指定します。
Time#localtime, Time#gmtime の挙動はシステムの
localtime(3) の挙動に依存します。Time クラ
スでは時刻を起算時からの経過秒数として保持していますが、ある......。システムを越えて Time オブジェクトを受け
渡す場合には注意する必要があります。
//emlist[][ruby]{
p t = Time.utc(2000, "jan", 1, 20, 15, 1) # => 2000-01-01 20:15:01 UTC
p t.utc? # => true
p t.localtime......# => 2000-01-02 05:15:01 +0900
p t.utc? # => false
p t.localtime("+09:00") # => 2000-01-02 05:15:01 +0900
p t.utc? # => false
//}... -
OpenSSL
:: X509 :: Revoked # time -> Time (27402.0) -
失効した日時を返します。
失効した日時を返します。 -
Kernel
# time(msg , width = 25) { . . . } -> object (27201.0) -
与えられたブロックの実行時間を計測して表示します。
...与えられたブロックの実行時間を計測して表示します。
@param msg 表示するメッセージを指定します。
@param width 表示する幅を指定します。
@return ブロックの実行結果を返します。... -
VALUE rb
_ time _ timespec _ new(const struct timespec *ts , int offset) (24716.0) -
引数 ts、offset を元に Time オブジェクトを作成して返します。
...元に Time オブジェクトを作成して返します。
@param ts timespec 構造体のポインタ
@param offset 協定世界時との時差(秒)。
-86400 < offset < 86400 の場合は指定した時差に、INT_MAX
を指定した場合は地方時、INT_MAX-1......を指定した場合は UTC に
なります。
@raise ArgumentError offset に上述の範囲以外の値を指定した場合に発生し
ます。... -
Time
# strftime(format) -> String (24410.0) -
時刻を format 文字列に従って文字列に変換した結果を返します。
...角空白で埋める ( 1..31)
* %F: %Y-%m-%d と同等 (ISO 8601の日付フォーマット)
* %G: ISO 8601の暦週の年
* %g: ISO 8601の暦週の年の下2桁(00-99)
* %H: 24時間制の時(00-23)
* %h: %b と同等
* %I: 12時間制の時(01-12)
* %j: 年中の通算日(001-366)......* %k: 24時間制の時。一桁の場合、半角空白で埋める ( 0..23)
* %L: ミリ秒 (000..999)
* %l: 12時間制の時。一桁の場合、半角空白で埋める ( 0..12)
* %M: 分(00-59)
* %m: 月を表す数字(01-12)
* %n: 改行 (\n)
* %N: 秒の小数点以下。桁の......後(AM,PM)
* %Q: 1970-01-01 00:00:00 UTC からの経過ミリ秒 (Time#strftime は対応していませんが、Date#strftime で使えます)
* %R: 24時間制の時刻。%H:%M と同等。
* %r: 12時間制の時刻。%I:%M:%S %p と同等。
* %S: 秒(00-60) (60はうるう秒)
* %s:... -
Time
# gmtime -> self (24330.0) -
タイムゾーンを協定世界時に設定します。
...のメソッドを呼び出した後は時刻変換を協定世界時として行ないます。
Time#localtime, Time#gmtime の挙動はシステムの
localtime(3) の挙動に依存します。Time クラ
スでは時刻を起算時からの経過秒数として保持していますが、ある......ます。システムを越えて Time オブジェクトを受け
渡す場合には注意する必要があります。
//emlist[][ruby]{
p t = Time.local(2000,1,1,20,15,1) # => 2000-01-01 20:15:01 +0900
p t.gmt? # => false
p t.gmtime # => 2...