singleton method DateTime.rfc2822
rfc2822(str = 'Mon, 1 Jan -4712 00:00:00 +0000', start = Date::ITALY) -> DateTime
rfc822(str = 'Mon, 1 Jan -4712 00:00:00 +0000', start = Date::ITALY) -> DateTime
-
[RFC2822] で定められた書式の日付を解析し、 その情報に基づいて日付オブジェクトを生成します。
DateTime._rfc2822 も参照してください。
- [PARAM] str:
- 日付をあらわす文字列
- [PARAM] start:
- グレゴリオ暦をつかい始めた日をあらわすユリウス日
class DateTime