singleton method Net::IMAP.format_date
format_date(time) -> String
-
時刻オブジェクトを IMAP の日付フォーマットでの文字列に変換します。
Net::IMAP.format_date(Time.new(2011, 6, 20)) # => "20-Jun-2011"
- [PARAM] time:
- 変換する時刻オブジェクト
class Net::IMAP
format_date(time) -> String
時刻オブジェクトを IMAP の日付フォーマットでの文字列に変換します。
Net::IMAP.format_date(Time.new(2011, 6, 20)) # => "20-Jun-2011"