Home | History | Annotate | Download | only in unicode

Lines Matching defs:UDateFormat

30  * structure UDateFormat, which can handle pretty much all normal
44 * UDateFormat* dfmt = udat_open(UDAT_DEFAULT, UDAT_DEFAULT, NULL, NULL, -1, NULL, -1, &status);
63 * UDateFormat* df = udat_open(UDAT_DEFAULT, UDAT_DEFAULT, NULL, NULL, -1, NULL, 0, &status);
87 * UDateFormat* dfmt = udat_open(UDAT_DEFAULT, UDAT_DEFAULT, NULL, -1, NULL, 0, &status);
103 * UDateFormat* df = udat_open(UDAT_SHORT, UDAT_SHORT, "fr_FR", NULL, -1, NULL, 0, &status);
140 typedef void* UDateFormat;
484 * defined by DateFormat and UDateFormat.
758 * DateFormat and UDateFormat.
782 * Open a new UDateFormat for formatting and parsing dates and times.
783 * A UDateFormat may be used to format dates in calls to {@link #udat_format },
805 * @return A pointer to a UDateFormat to use for formatting dates and times, or 0 if
809 U_STABLE UDateFormat* U_EXPORT2
821 * Close a UDateFormat.
822 * Once closed, a UDateFormat may no longer be used.
827 udat_close(UDateFormat* format);
835 * "Smart pointer" class, closes a UDateFormat via udat_close().
842 U_DEFINE_LOCAL_OPEN_POINTER(LocalUDateFormatPointer, UDateFormat, udat_close);
849 * Open a copy of a UDateFormat.
853 * @return A pointer to a UDateFormat identical to fmt.
856 U_STABLE UDateFormat* U_EXPORT2
857 udat_clone(const UDateFormat *fmt,
861 * Format a date using an UDateFormat.
879 udat_format( const UDateFormat* format,
887 * Parse a string into an date/time using a UDateFormat.
912 udat_parse(const UDateFormat* format,
919 * Parse a string into an date/time using a UDateFormat.
925 * different from the internal calendar held by the UDateFormat
940 UDateFormat* format,
948 * Determine if an UDateFormat will perform lenient parsing.
957 udat_isLenient(const UDateFormat* fmt);
960 * Specify whether an UDateFormat will perform lenient parsing.
969 udat_setLenient( UDateFormat* fmt,
973 * Get the UCalendar associated with an UDateFormat.
974 * A UDateFormat uses a UCalendar to convert a raw value to, for example,
982 udat_getCalendar(const UDateFormat* fmt);
985 * Set the UCalendar associated with an UDateFormat.
986 * A UDateFormat uses a UCalendar to convert a raw value to, for example,
994 udat_setCalendar( UDateFormat* fmt,
998 * Get the UNumberFormat associated with an UDateFormat.
999 * A UDateFormat uses a UNumberFormat to format numbers within a date,
1007 udat_getNumberFormat(const UDateFormat* fmt);
1010 * Set the UNumberFormat associated with an UDateFormat.
1011 * A UDateFormat uses a UNumberFormat to format numbers within a date,
1019 udat_setNumberFormat( UDateFormat* fmt,
1024 * A UDateFormat in a locale returned by this function will perform the correct
1056 udat_get2DigitYearStart( const UDateFormat *fmt,
1070 udat_set2DigitYearStart( UDateFormat *fmt,
1075 * Extract the pattern from a UDateFormat.
1087 udat_toPattern( const UDateFormat *fmt,
1094 * Set the pattern used by an UDateFormat.
1104 udat_applyPattern( UDateFormat *format,
1182 * Get the symbols associated with an UDateFormat.
1183 * The symbols are what a UDateFormat uses to represent locale-specific data,
1198 udat_getSymbols(const UDateFormat *fmt,
1206 * Count the number of particular symbols for an UDateFormat.
1218 udat_countSymbols( const UDateFormat *fmt,
1222 * Set the symbols associated with an UDateFormat.
1223 * The symbols are what a UDateFormat uses to represent locale-specific data,
1237 udat_setSymbols( UDateFormat *format,
1254 udat_getLocaleByType(const UDateFormat *fmt,
1268 udat_setContext(UDateFormat* fmt, UDisplayContext value, UErrorCode* status);
1280 udat_getContext(UDateFormat* fmt, UDisplayContextType type, UErrorCode* status);
1286 * Extract the date pattern from a UDateFormat set for relative date formatting.
1297 udat_toPatternRelativeDate(const UDateFormat *fmt,
1303 * Extract the time pattern from a UDateFormat set for relative date formatting.
1314 udat_toPatternRelativeTime(const UDateFormat *fmt,
1320 * Set the date & time patterns used by a UDateFormat set for relative date formatting.
1332 udat_applyPatternRelative(UDateFormat *format,
1343 typedef UDateFormat* (U_EXPORT2 *UDateFormatOpener) (UDateFormatStyle timeStyle,