Enumeration Case 列挙ケース

NSDateIntervalFormatterMediumStyle

A medium length date or time format. 中ぐらいの長さの日付または時刻書式設定。

Declaration 宣言

NSDateIntervalFormatterMediumStyle = 2

Discussion 議論

For dates, this style displays the numerical day and year and an abbreviated spelling of the month using a format appropriate for the current locale. For example, formatting the date January 15, 2015 with this style results in the value “Jan 15, 2015” for US English and the value “15. 日付に対して、このスタイルは、数字の日にちと年そして省略綴り版の月を、現在のロケールに適切な書式設定を使って表示します。例えば、日付 January 15, 2015 をこのスタイルで書式設定することは、US Englishに対しては値 “January 15, 2015” そして値 “15. Jan. 2015” for German.

For times, this style displays hours, minutes, and seconds using a format appropriate for the current locale. For example, 12 hours, 33 minutes, and 29 seconds in the afternoon using a 12-hour clock results in the value “12:33:29 PM” for US English 12-hour format and “12:33:29 nachm.” for German. 時刻に対して、このスタイルは、時、分、そして秒を、現在のロケールに適切な書式設定を使って表示します。例えば、12時間時計を使う午後における12時間、33分、そして29秒は、米国語12時間書式設定に対して値 “12:33:29 PM” そして独語に対して “12:33:29 nachm.” という結果になります。