Enumeration: NSDateFormatterStyle

Overview

The following constants specify predefined format styles for dates and times.

Constant Summary

NSDateFormatterNoStyle

Specifies no style.equal to kcfdateformatternostyle.available in ios 2.0 and later.declared in nsdateformatter.h.

NSDateFormatterShortStyle

Specifies a short style, typically numeric only, such as “11/23/37” or “3:30pm”.equal to kcfdateformattershortstyle.available in ios 2.0 and later.declared in nsdateformatter.h.

NSDateFormatterMediumStyle

Specifies a medium style, typically with abbreviated text, such as “nov 23, 1937”.equal to kcfdateformattermediumstyle.available in ios 2.0 and later.declared in nsdateformatter.h.

NSDateFormatterLongStyle

Specifies a long style, typically with full text, such as “november 23, 1937” or “3:30:32pm”.equal to kcfdateformatterlongstyle.available in ios 2.0 and later.declared in nsdateformatter.h.

NSDateFormatterFullStyle

Specifies a full style with complete details, such as “tuesday, april 12, 1952 ad” or “3:30:42pm pst”.equal to kcfdateformatterfullstyle.available in ios 2.0 and later.declared in nsdateformatter.h.