Modified data and time format selectors.

This commit is contained in:
nhotta%netscape.com 1999-01-28 00:21:48 +00:00
Родитель 77f6a25833
Коммит 432b0a7e44
1 изменённых файлов: 10 добавлений и 8 удалений

Просмотреть файл

@ -31,17 +31,19 @@
{ 0x91, 0x19, 0x0, 0x60, 0x8, 0xa6, 0xed, 0xf6 } }
typedef enum {
kDateFormatNone, // do not include the date in the format string)
kDateFormatLong, // provides the long date format for the given locale)
kDateFormatShort, // provides the short date format for the given locale)
kDateFormatYearMonth // formats using only the year and month)
kDateFormatNone, // do not include the date in the format string
kDateFormatLong, // provides the long date format for the given locale
kDateFormatShort, // provides the short date format for the given locale
kDateFormatYearMonth, // formats using only the year and month
kDateFormatWeekday // week day (e.g. Mon, Tue)
} nsDateFormatSelector;
typedef enum {
kTimeFormatNone, // do not include the date in the format string)
kTimeFormatSeconds, // provides the long date format for the given locale)
kTimeFormatNoSeconds, // provides the short date format for the given locale)
kTimeFormatForce24Hour // formats using only the year and month)
kTimeFormatNone, // don't include the time in the format string
kTimeFormatSeconds, // provides the time format with seconds in the given locale
kTimeFormatNoSeconds, // provides the time format without seconds in the given locale
kTimeFormatSecondsForce24Hour, // forces the time format to use the 24 clock, regardless of the locale conventions
kTimeFormatNoSecondsForce24Hour // forces the time format to use the 24 clock, regardless of the locale conventions
} nsTimeFormatSelector;