Enumeration Case 列挙ケース

NSDateIntervalFormatterShortStyle

An abbreviated date or time format. 省略された日付または時刻書式設定。

Declaration 宣言

NSDateIntervalFormatterShortStyle = 1

Discussion 議論

For dates, this style displays the day, month, and year in numerical form using a format appropriate for the current locale. For example, formatting the date January 15, 2015 with this style results in the value “1/15/15” for US English and the value “15.1.15” for German. 日付に対して、このスタイルは、日にち、月、そして年を数字形式で、現在のロケールに適切な書式設定を使って表示します。例えば、日付 January 15, 2015 をこのスタイルで書式設定することは、米国語に対しては値 “1/15/15” そして独語に対しては値 “15.1.15” という結果になります。

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