Enumeration Case

NSDateIntervalFormatterLongStyle

A long length date or time format.

Declaration

NSDateIntervalFormatterLongStyle = 3

Discussion

For dates, this style displays the numerical day and year and a spelled out version 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 “January 15, 2015” for US English and the value “15. Januar 2015” for German.

For times, this style displays hours, minutes, seconds, and time zone information 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 and the Pacific Time Zone results in the value “12:33:29 PM PST” for US English without daylight savings in effect and “12:33:29 GMT-8” for German.