Instance Method インスタンスメソッド

init

Initializes an ISO 8601 date formatter with default format, time zone, and options. ISO 8601日付フォーマッタを省略時の書式設定、タイムゾーン、そしてオプションで初期化します。

Declaration 宣言

- (instancetype)init;

Discussion 議論

By default, a formatter is initialized to use the GMT time zone, the RFC 3339 standard format ("yyyy-MM-dd'T'HH:mm:ssZZZZZ"), and the following options: NSISO8601DateFormatWithInternetDateTime, NSISO8601DateFormatWithDashSeparatorInDate, NSISO8601DateFormatWithColonSeparatorInTime, and NSISO8601DateFormatWithTimeZone. 初期状態では、フォーマッタはGMT標準時間帯、RFC 3339標準書式("yyyy-MM-dd'T'HH:mm:ssZZZZZ")、そして以下のオプションを使って初期化されます: NSISO8601DateFormatWithInternetDateTime, NSISO8601DateFormatWithDashSeparatorInDate, NSISO8601DateFormatWithColonSeparatorInTime, および NSISO8601DateFormatWithTimeZone

This is the designated initializer. これは、指定イニシャライザです。