From 9e4f9da4b42ecf65d9b28c70ca16784de401b1a3 Mon Sep 17 00:00:00 2001 From: "nhotta%netscape.com" Date: Tue, 20 Jul 1999 20:06:13 +0000 Subject: [PATCH] Changed to include nsIScriptableDateFormat.h. --- intl/locale/public/nsIDateTimeFormat.h | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/intl/locale/public/nsIDateTimeFormat.h b/intl/locale/public/nsIDateTimeFormat.h index 95b5f59ad2d1..2968b9eb61e7 100644 --- a/intl/locale/public/nsIDateTimeFormat.h +++ b/intl/locale/public/nsIDateTimeFormat.h @@ -24,6 +24,7 @@ #include "nscore.h" #include "nsString.h" #include "nsILocale.h" +#include "nsIScriptableDateFormat.h" #include "prtime.h" #include @@ -33,24 +34,6 @@ { 0x2bbaa0b0, 0xa591, 0x11d2, \ { 0x91, 0x19, 0x0, 0x60, 0x8, 0xa6, 0xed, 0xf6 } } -typedef PRInt32 nsDateFormatSelector; -enum { - kDateFormatNone = 0, // 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) -}; - -typedef PRInt32 nsTimeFormatSelector; -enum { - kTimeFormatNone = 0, // 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 -}; - // Locale sensitive date and time format interface //