11 #include "unicode/utypes.h" 13 #if !UCONFIG_NO_FORMATTING 15 #include "unicode/localpointer.h" 199 #define UDAT_YEAR "y" 200 #ifndef U_HIDE_DRAFT_API 205 #define UDAT_QUARTER "QQQQ" 210 #define UDAT_ABBR_QUARTER "QQQ" 216 #define UDAT_YEAR_QUARTER "yQQQQ" 221 #define UDAT_YEAR_ABBR_QUARTER "yQQQ" 226 #define UDAT_MONTH "MMMM" 231 #define UDAT_ABBR_MONTH "MMM" 236 #define UDAT_NUM_MONTH "M" 241 #define UDAT_YEAR_MONTH "yMMMM" 246 #define UDAT_YEAR_ABBR_MONTH "yMMM" 251 #define UDAT_YEAR_NUM_MONTH "yM" 262 #define UDAT_YEAR_MONTH_DAY "yMMMMd" 268 #define UDAT_YEAR_ABBR_MONTH_DAY "yMMMd" 274 #define UDAT_YEAR_NUM_MONTH_DAY "yMd" 275 #ifndef U_HIDE_DRAFT_API 280 #define UDAT_WEEKDAY "EEEE" 285 #define UDAT_ABBR_WEEKDAY "E" 292 #define UDAT_YEAR_MONTH_WEEKDAY_DAY "yMMMMEEEEd" 298 #define UDAT_YEAR_ABBR_MONTH_WEEKDAY_DAY "yMMMEd" 304 #define UDAT_YEAR_NUM_MONTH_WEEKDAY_DAY "yMEd" 310 #define UDAT_MONTH_DAY "MMMMd" 316 #define UDAT_ABBR_MONTH_DAY "MMMd" 322 #define UDAT_NUM_MONTH_DAY "Md" 328 #define UDAT_MONTH_WEEKDAY_DAY "MMMMEEEEd" 334 #define UDAT_ABBR_MONTH_WEEKDAY_DAY "MMMEd" 340 #define UDAT_NUM_MONTH_WEEKDAY_DAY "MEd" 348 #define UDAT_HOUR "j" 349 #ifndef U_HIDE_DRAFT_API 354 #define UDAT_HOUR24 "H" 359 #define UDAT_MINUTE "m" 366 #define UDAT_HOUR_MINUTE "jm" 372 #define UDAT_HOUR24_MINUTE "Hm" 373 #ifndef U_HIDE_DRAFT_API 378 #define UDAT_SECOND "s" 386 #define UDAT_HOUR_MINUTE_SECOND "jms" 393 #define UDAT_HOUR24_MINUTE_SECOND "Hms" 399 #define UDAT_MINUTE_SECOND "ms" 403 #ifndef U_HIDE_DRAFT_API 411 #define UDAT_LOCATION_TZ "VVVV" 419 #define UDAT_GENERIC_TZ "vvvv" 427 #define UDAT_ABBR_GENERIC_TZ "v" 435 #define UDAT_SPECIFIC_TZ "zzzz" 443 #define UDAT_ABBR_SPECIFIC_TZ "z" 451 #define UDAT_ABBR_UTC_TZ "ZZZZ" 456 #ifndef U_HIDE_DEPRECATED_API 461 #define UDAT_STANDALONE_MONTH "LLLL" 466 #define UDAT_ABBR_STANDALONE_MONTH "LLL" 472 #define UDAT_HOUR_MINUTE_GENERIC_TZ "jmv" 477 #define UDAT_HOUR_MINUTE_TZ "jmz" 482 #define UDAT_HOUR_GENERIC_TZ "jv" 487 #define UDAT_HOUR_TZ "jz" 738 #ifndef U_HIDE_DRAFT_API 823 const UChar *pattern,
861 #ifndef U_HIDE_INTERNAL_API 892 #if U_SHOW_CPLUSPLUS_API 1169 const UChar *pattern,
1220 #ifndef U_HIDE_DRAFT_API 1321 #ifndef U_HIDE_DRAFT_API 1347 #ifndef U_HIDE_INTERNAL_API 1396 const UChar *datePattern,
1398 const UChar *timePattern,
1411 const UChar *pattern,
U_INTERNAL void U_EXPORT2 udat_setBooleanAttribute(UDateFormat *fmt, UDateFormatBooleanAttribute attr, UBool, UErrorCode *status)
void * UCalendar
Definition: ucal.h:153
U_INTERNAL UDateFormatOpener U_EXPORT2 udat_unregisterOpener(UDateFormatOpener opener, UErrorCode *status)
U_STABLE int32_t U_EXPORT2 udat_getSymbols(const UDateFormat *fmt, UDateFormatSymbolType type, int32_t symbolIndex, UChar *result, int32_t resultLength, UErrorCode *status)
UCalendarDateFields
Definition: ucal.h:183
const FieldDescriptor * field
Definition: parser_unittest.cc:2279
Definition: XMLHttpRequest.idl:39
GLint GLint GLint GLsizei GLsizei GLenum format
Definition: gl2.h:403
U_STABLE UBool U_EXPORT2 udat_isLenient(const UDateFormat *fmt)
U_INTERNAL int32_t U_EXPORT2 udat_toPatternRelativeTime(const UDateFormat *fmt, UChar *result, int32_t resultLength, UErrorCode *status)
signed int int32_t
Definition: ptypes.h:101
U_STABLE int32_t U_EXPORT2 udat_countAvailable(void)
int8_t UBool
Definition: umachine.h:200
U_STABLE void U_EXPORT2 udat_parseCalendar(const UDateFormat *format, UCalendar *calendar, const UChar *text, int32_t textLength, int32_t *parsePos, UErrorCode *status)
UDateFormat *(U_EXPORT2 * UDateFormatOpener)(UDateFormatStyle timeStyle, UDateFormatStyle dateStyle, const char *locale, const UChar *tzID, int32_t tzIDLength, const UChar *pattern, int32_t patternLength, UErrorCode *status)
Definition: udat.h:1406
U_STABLE void U_EXPORT2 udat_set2DigitYearStart(UDateFormat *fmt, UDate d, UErrorCode *status)
U_STABLE int32_t U_EXPORT2 udat_format(const UDateFormat *format, UDate dateToFormat, UChar *result, int32_t resultLength, UFieldPosition *position, UErrorCode *status)
UDisplayContext
Definition: udisplaycontext.h:54
U_STABLE int32_t U_EXPORT2 udat_toPattern(const UDateFormat *fmt, UBool localized, UChar *result, int32_t resultLength, UErrorCode *status)
ULocDataLocaleType
Definition: uloc.h:336
U_STABLE UCalendarDateFields U_EXPORT2 udat_toCalendarDateField(UDateFormatField field)
U_STABLE void U_EXPORT2 udat_close(UDateFormat *format)
#define U_NAMESPACE_BEGIN
Definition: uversion.h:129
#define U_NAMESPACE_END
Definition: uversion.h:130
U_DRAFT void U_EXPORT2 udat_setContext(UDateFormat *fmt, UDisplayContext value, UErrorCode *status)
C API: Display context types (enum values)
#define U_DRAFT
Definition: umachine.h:111
U_STABLE int32_t U_EXPORT2 udat_countSymbols(const UDateFormat *fmt, UDateFormatSymbolType type)
U_DRAFT UDisplayContext U_EXPORT2 udat_getContext(UDateFormat *fmt, UDisplayContextType type, UErrorCode *status)
U_STABLE void U_EXPORT2 udat_setNumberFormat(UDateFormat *fmt, const UNumberFormat *numberFormatToSet)
UDateFormatSymbolType
Definition: udat.h:1176
U_STABLE UDateFormat *U_EXPORT2 udat_open(UDateFormatStyle timeStyle, UDateFormatStyle dateStyle, const char *locale, const UChar *tzID, int32_t tzIDLength, const UChar *pattern, int32_t patternLength, UErrorCode *status)
void * UNumberFormat
Definition: unum.h:132
UErrorCode
Definition: utypes.h:476
void * UDateFormat
Definition: udat.h:150
OPENSSL_EXPORT X509_ATTRIBUTE * attr
Definition: x509.h:1051
EGLAttrib * value
Definition: eglext.h:120
U_INTERNAL UBool U_EXPORT2 udat_getBooleanAttribute(const UDateFormat *fmt, UDateFormatBooleanAttribute attr, UErrorCode *status)
U_STABLE const char *U_EXPORT2 udat_getAvailable(int32_t localeIndex)
U_STABLE const char *U_EXPORT2 udat_getLocaleByType(const UDateFormat *fmt, ULocDataLocaleType type, UErrorCode *status)
struct UDateFormatSymbols UDateFormatSymbols
Definition: udat.h:1242
UDateFormatStyle
Definition: udat.h:155
#define U_EXPORT2
Definition: platform.h:724
U_INTERNAL void U_EXPORT2 udat_registerOpener(UDateFormatOpener opener, UErrorCode *status)
EGLenum type
Definition: eglext.h:63
U_INTERNAL void U_EXPORT2 udat_applyPatternRelative(UDateFormat *format, const UChar *datePattern, int32_t datePatternLength, const UChar *timePattern, int32_t timePatternLength, UErrorCode *status)
result
Definition: target-blank-opener-post-window.php:5
UDisplayContextType
Definition: udisplaycontext.h:26
U_STABLE const UCalendar *U_EXPORT2 udat_getCalendar(const UDateFormat *fmt)
U_STABLE const UNumberFormat *U_EXPORT2 udat_getNumberFormat(const UDateFormat *fmt)
#define U_STABLE
Definition: umachine.h:109
UDateFormatField
Definition: udat.h:495
U_STABLE void U_EXPORT2 udat_setCalendar(UDateFormat *fmt, const UCalendar *calendarToSet)
U_STABLE UDate U_EXPORT2 udat_get2DigitYearStart(const UDateFormat *fmt, UErrorCode *status)
U_STABLE UDateFormat *U_EXPORT2 udat_clone(const UDateFormat *fmt, UErrorCode *status)
double UDate
Definition: utypes.h:201
uint16_t UChar
Definition: umachine.h:278
U_STABLE void U_EXPORT2 udat_setLenient(UDateFormat *fmt, UBool isLenient)
U_STABLE void U_EXPORT2 udat_setSymbols(UDateFormat *format, UDateFormatSymbolType type, int32_t symbolIndex, UChar *value, int32_t valueLength, UErrorCode *status)
U_STABLE UDate U_EXPORT2 udat_parse(const UDateFormat *format, const UChar *text, int32_t textLength, int32_t *parsePos, UErrorCode *status)
#define U_INTERNAL
Definition: umachine.h:117
U_STABLE void U_EXPORT2 udat_applyPattern(UDateFormat *format, UBool localized, const UChar *pattern, int32_t patternLength)
UDateFormatBooleanAttribute
Definition: udat.h:842
#define d
Definition: float-mm.c:30
U_INTERNAL int32_t U_EXPORT2 udat_toPatternRelativeDate(const UDateFormat *fmt, UChar *result, int32_t resultLength, UErrorCode *status)