るりまサーチ

最速Rubyリファレンスマニュアル検索!
360件ヒット [1-100件を表示] (0.057秒)

別のキーワード

  1. openssl integer
  2. asn1 integer
  3. _builtin integer
  4. integer new
  5. integer chr

検索結果

<< 1 2 3 ... > >>

Time#sec -> Integer (18214.0)

秒を整数で返します。

...秒を整数で返します。

//emlist[][ruby]{
p Time.mktime(2000, 1, 1).sec # => 0
//}

通常は0から59を返しますが、うるう秒の場合は60を返します。

//emlist[][ruby]{
ENV['TZ'] = 'right/UTC'
p Time.mktime(2005, 12, 31, 23, 59, 60).sec # => 60
//}...

DateTime#sec -> Integer (18203.0)

秒を返します (0-59)。

秒を返します (0-59)。

DateTime#second -> Integer (6203.0)

秒を返します (0-59)。

秒を返します (0-59)。

Time#nsec -> Integer (6202.0)

時刻のナノ秒の部分を整数で返します。

...Time.local(2000,1,2,3,4,5,6)
p "%10.9f" % t.to_f # => "946749845.000005960"
p t.nsec # => 6000
//}

IEEE 754 浮動小数点数で表現できる精度が違うため、Time#to_fの最小
の桁とnsecの最小の桁は異なります。nsecで表される値の方が正確です。...

Time#tv_nsec -> Integer (6202.0)

時刻のナノ秒の部分を整数で返します。

...Time.local(2000,1,2,3,4,5,6)
p "%10.9f" % t.to_f # => "946749845.000005960"
p t.nsec # => 6000
//}

IEEE 754 浮動小数点数で表現できる精度が違うため、Time#to_fの最小
の桁とnsecの最小の桁は異なります。nsecで表される値の方が正確です。...

絞り込み条件を変える

Time#tv_usec -> Integer (6202.0)

時刻のマイクロ秒の部分を整数で返します。

...時刻のマイクロ秒の部分を整数で返します。

//emlist[][ruby]{
t = Time.local(2000,1,2,3,4,5,6)
p "%10.6f" % t.to_f #=> "946749845.000006"
p t.usec #=> 6
//}...

Time#usec -> Integer (6202.0)

時刻のマイクロ秒の部分を整数で返します。

...時刻のマイクロ秒の部分を整数で返します。

//emlist[][ruby]{
t = Time.local(2000,1,2,3,4,5,6)
p "%10.6f" % t.to_f #=> "946749845.000006"
p t.usec #=> 6
//}...

Process::CLOCK_SECOND -> Integer (6201.0)

Process.#clock_gettime で使われます。

Process.#clock_gettime で使われます。

システムによっては定義されていません。

Socket::Constants::IP_IPSEC_POLICY -> Integer (6201.0)

IPsec security policy。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。

...IPsec security policy。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。

@see Socket::Constants::IPPROTO_IP,
http://netbsd.gw.com/cgi-bin/man-cgi?ip++NetBSD-current...

Socket::Constants::IP_PASSSEC -> Integer (6201.0)

@todo Retrieve security context with datagram。

...@todo
Retrieve security context with datagram。...

絞り込み条件を変える

<< 1 2 3 ... > >>