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);
138 * as pattern letters representing calendar fields. <code>UDateFormat</code> supports
150 typedef void* UDateFormat;
492 * defined by DateFormat and UDateFormat.
766 * DateFormat and UDateFormat.
790 * Open a new UDateFormat for formatting and parsing dates and times.
791 * A UDateFormat may be used to format dates in calls to {@link #udat_format },
813 * @return A pointer to a UDateFormat to use for formatting dates and times, or 0 if
817 U_STABLE UDateFormat* U_EXPORT2
829 * Close a UDateFormat.
830 * Once closed, a UDateFormat may no longer be used.
835 udat_close(UDateFormat* format);
863 * Get a boolean attribute associated with a UDateFormat.
873 udat_getBooleanAttribute(const UDateFormat* fmt, UDateFormatBooleanAttribute attr, UErrorCode* status);
876 * Set a boolean attribute associated with a UDateFormat.
886 udat_setBooleanAttribute(UDateFormat *fmt, UDateFormatBooleanAttribute attr, UBool, UErrorCode* status);
898 * "Smart pointer" class, closes a UDateFormat via udat_close().
905 U_DEFINE_LOCAL_OPEN_POINTER(LocalUDateFormatPointer, UDateFormat, udat_close);
912 * Open a copy of a UDateFormat.
916 * @return A pointer to a UDateFormat identical to fmt.
919 U_STABLE UDateFormat* U_EXPORT2
920 udat_clone(const UDateFormat *fmt,
924 * Format a date using an UDateFormat.
942 udat_format( const UDateFormat* format,
950 * Parse a string into an date/time using a UDateFormat.
975 udat_parse(const UDateFormat* format,
982 * Parse a string into an date/time using a UDateFormat.
988 * different from the internal calendar held by the UDateFormat
1003 udat_parseCalendar(const UDateFormat* format,
1011 * Determine if an UDateFormat will perform lenient parsing.
1020 udat_isLenient(const UDateFormat* fmt);
1023 * Specify whether an UDateFormat will perform lenient parsing.
1032 udat_setLenient( UDateFormat* fmt,
1036 * Get the UCalendar associated with an UDateFormat.
1037 * A UDateFormat uses a UCalendar to convert a raw value to, for example,
1045 udat_getCalendar(const UDateFormat* fmt);
1048 * Set the UCalendar associated with an UDateFormat.
1049 * A UDateFormat uses a UCalendar to convert a raw value to, for example,
1057 udat_setCalendar( UDateFormat* fmt,
1061 * Get the UNumberFormat associated with an UDateFormat.
1062 * A UDateFormat uses a UNumberFormat to format numbers within a date,
1070 udat_getNumberFormat(const UDateFormat* fmt);
1073 * Set the UNumberFormat associated with an UDateFormat.
1074 * A UDateFormat uses a UNumberFormat to format numbers within a date,
1082 udat_setNumberFormat( UDateFormat* fmt,
1087 * A UDateFormat in a locale returned by this function will perform the correct
1119 udat_get2DigitYearStart( const UDateFormat *fmt,
1133 udat_set2DigitYearStart( UDateFormat *fmt,
1138 * Extract the pattern from a UDateFormat.
1150 udat_toPattern( const UDateFormat *fmt,
1157 * Set the pattern used by an UDateFormat.
1167 udat_applyPattern( UDateFormat *format,
1245 * Get the symbols associated with an UDateFormat.
1246 * The symbols are what a UDateFormat uses to represent locale-specific data,
1261 udat_getSymbols(const UDateFormat *fmt,
1269 * Count the number of particular symbols for an UDateFormat.
1281 udat_countSymbols( const UDateFormat *fmt,
1285 * Set the symbols associated with an UDateFormat.
1286 * The symbols are what a UDateFormat uses to represent locale-specific data,
1300 udat_setSymbols( UDateFormat *format,
1317 udat_getLocaleByType(const UDateFormat *fmt,
1331 udat_setContext(UDateFormat* fmt, UDisplayContext value, UErrorCode* status);
1343 udat_getContext(UDateFormat* fmt, UDisplayContextType type, UErrorCode* status);
1349 * Extract the date pattern from a UDateFormat set for relative date formatting.
1360 UDateFormat *fmt,
1366 * Extract the time pattern from a UDateFormat set for relative date formatting.
1377 udat_toPatternRelativeTime(const UDateFormat *fmt,
1383 * Set the date & time patterns used by a UDateFormat set for relative date formatting.
1395 udat_applyPatternRelative(UDateFormat *format,
1406 typedef UDateFormat* (U_EXPORT2 *UDateFormatOpener) (UDateFormatStyle timeStyle,