ライブラリ
- ビルトイン (120)
- date (22)
-
net
/ ftp (9) - openssl (66)
- pathname (11)
- shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) - win32ole (11)
クラス
- Date (22)
- File (54)
-
File
:: Stat (33) -
Net
:: FTP :: MLSxEntry (9) -
OpenSSL
:: ASN1 :: UTCTime (22) - Pathname (11)
- Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) - Time (22)
-
WIN32OLE
_ VARIABLE (11)
モジュール
-
OpenSSL
:: ASN1 (33)
検索結果
先頭5件
-
OpenSSL
:: ASN1 . # UTCTime(value , tag , tagging , tag _ class) -> OpenSSL :: ASN1 :: UTCTime (6200.0) -
ASN.1 の UTCTime 型の値を表現する Ruby のオブジェクトを 生成します。
...ASN.1 の UTCTime 型の値を表現する Ruby のオブジェクトを
生成します。
OpenSSL::ASN1::UTCTime.new と同じです。
@param value ASN.1 値を表す Ruby のオブジェクト(Timeのオブジェクト)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT も... -
Time
# asctime -> String (6107.0) -
時刻を asctime(3) の形式の文字列に変換します。た だし、末尾の改行文字 "\n" は含まれません。
...時刻を asctime(3) の形式の文字列に変換します。た
だし、末尾の改行文字 "\n" は含まれません。
戻り値の文字エンコーディングは Encoding::US_ASCII です。
//emlist[][ruby]{
p Time.local(2000).asctime # => "Sat Jan 1 00:00:00 2000"
p Time.......local(2000).asctime.encoding # => #<Encoding:US-ASCII>
p Time.local(2000).ctime # => "Sat Jan 1 00:00:00 2000"
//}... -
Date
# asctime -> String (6101.0) -
asctime(3) 書式の文字列を返します (ただし、末尾の "\n\0" は除く)。
...asctime(3) 書式の文字列を返します (ただし、末尾の "\n\0" は除く)。... -
OpenSSL
:: ASN1 :: UTCTIME -> Integer (6100.0) -
ASN.1 UNIVERSAL タグの、 UTCTIME のタグ番号 23 を表す定数です。
...ASN.1 UNIVERSAL タグの、
UTCTIME のタグ番号 23 を表す定数です。... -
OpenSSL
:: ASN1 :: UTCTime (6000.0) -
ASN.1 の UTCTime 型(Universal タグのタグ番号23)を表すクラスです。
...ASN.1 の UTCTime 型(Universal タグのタグ番号23)を表すクラスです。... -
OpenSSL
:: ASN1 :: UTCTime . new(value) -> OpenSSL :: ASN1 :: UTCTime (3100.0) -
ASN.1 の UTCTime 型の値を表現する OpenSSL::ASN1::UTCTime オブジェクトを 生成します。
...ASN.1 の UTCTime 型の値を表現する OpenSSL::ASN1::UTCTime オブジェクトを
生成します。
value 以外の引数を省略した場合はタグクラスは :UNIVERSAL、
タグ は OpenSSL::ASN1::UTCTIME となります。
@param value ASN.1 値を表す Ruby のオブジェクト(T... -
OpenSSL
:: ASN1 :: UTCTime . new(value , tag , tagging , tag _ class) -> OpenSSL :: ASN1 :: UTCTime (3100.0) -
ASN.1 の UTCTime 型の値を表現する OpenSSL::ASN1::UTCTime オブジェクトを 生成します。
...ASN.1 の UTCTime 型の値を表現する OpenSSL::ASN1::UTCTime オブジェクトを
生成します。
value 以外の引数を省略した場合はタグクラスは :UNIVERSAL、
タグ は OpenSSL::ASN1::UTCTIME となります。
@param value ASN.1 値を表す Ruby のオブジェクト(T... -
File
# atime -> Time (6.0) -
最終アクセス時刻を Time オブジェクトとして返します。
...れている場合に発生します。
@raise Errno::EXXX ファイルの時刻の取得に失敗した場合に発生します。
//emlist[例:][ruby]{
IO.write("testfile", "test")
File.open("testfile") { |f| f.atime } # => 2017-12-21 22:58:17 +0900
//}
@see File#lstat, File#ctime, File#mtime......に発生します。
@raise Errno::EXXX ファイルの時刻の取得に失敗した場合に発生します。
//emlist[例:][ruby]{
IO.write("testfile", "test")
File.open("testfile") { |f| f.atime } # => 2017-12-21 22:58:17 +0900
//}
@see File#lstat, File#ctime, File#mtime, File#birthtime... -
File
# birthtime -> Time (6.0) -
作成された時刻を Time オブジェクトとして返します。
...::EXXX ファイルの時刻の取得に失敗した場合に発生します。
@raise NotImplementedError Windows のような birthtime のない環境で発生します。
File.new("testfile").birthtime #=> Wed Apr 09 08:53:14 CDT 2003
@see File#lstat, File#atime, File#ctime, File#mtime... -
File
# mtime -> Time (6.0) -
最終更新時刻を Time オブジェクトとして返します。
...ている場合に発生します。
@raise Errno::EXXX ファイルの時刻の取得に失敗した場合に発生します。
//emlist[例:][ruby]{
IO.write("testfile", "test")
File.open("testfile") { |f| f.mtime } # => 2017-12-21 22:58:17 +0900
//}
@see File#lstat, File#atime, File#ctime......に発生します。
@raise Errno::EXXX ファイルの時刻の取得に失敗した場合に発生します。
//emlist[例:][ruby]{
IO.write("testfile", "test")
File.open("testfile") { |f| f.mtime } # => 2017-12-21 22:58:17 +0900
//}
@see File#lstat, File#atime, File#ctime, File#birthtime...