OLD | NEW |
1 /* | 1 /* |
2 ******************************************************************************** | 2 ******************************************************************************** |
3 * Copyright (C) 2005-2013, International Business Machines | 3 * Copyright (C) 2005-2015, International Business Machines |
4 * Corporation and others. All Rights Reserved. | 4 * Corporation and others. All Rights Reserved. |
5 ******************************************************************************** | 5 ******************************************************************************** |
6 * | 6 * |
7 * File WINDTFMT.H | 7 * File WINDTFMT.H |
8 * | 8 * |
9 ******************************************************************************** | 9 ******************************************************************************** |
10 */ | 10 */ |
11 | 11 |
12 #ifndef __WINDTFMT | 12 #ifndef __WINDTFMT |
13 #define __WINDTFMT | 13 #define __WINDTFMT |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 Win32DateFormat(const Win32DateFormat &other); | 45 Win32DateFormat(const Win32DateFormat &other); |
46 | 46 |
47 virtual ~Win32DateFormat(); | 47 virtual ~Win32DateFormat(); |
48 | 48 |
49 virtual Format *clone(void) const; | 49 virtual Format *clone(void) const; |
50 | 50 |
51 Win32DateFormat &operator=(const Win32DateFormat &other); | 51 Win32DateFormat &operator=(const Win32DateFormat &other); |
52 | 52 |
53 UnicodeString &format(Calendar &cal, UnicodeString &appendTo, FieldPosition
&pos) const; | 53 UnicodeString &format(Calendar &cal, UnicodeString &appendTo, FieldPosition
&pos) const; |
54 | 54 |
| 55 using DateFormat::format; |
| 56 |
55 void parse(const UnicodeString& text, Calendar& cal, ParsePosition& pos) con
st; | 57 void parse(const UnicodeString& text, Calendar& cal, ParsePosition& pos) con
st; |
56 | 58 |
57 /** | 59 /** |
58 * Set the calendar to be used by this date format. Initially, the default | 60 * Set the calendar to be used by this date format. Initially, the default |
59 * calendar for the specified or default locale is used. The caller should | 61 * calendar for the specified or default locale is used. The caller should |
60 * not delete the Calendar object after it is adopted by this call. | 62 * not delete the Calendar object after it is adopted by this call. |
61 * | 63 * |
62 * @param calendarToAdopt Calendar object to be adopted. | 64 * @param calendarToAdopt Calendar object to be adopted. |
63 */ | 65 */ |
64 virtual void adoptCalendar(Calendar* calendarToAdopt); | 66 virtual void adoptCalendar(Calendar* calendarToAdopt); |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 TIME_ZONE_INFORMATION *fTZI; | 127 TIME_ZONE_INFORMATION *fTZI; |
126 }; | 128 }; |
127 | 129 |
128 U_NAMESPACE_END | 130 U_NAMESPACE_END |
129 | 131 |
130 #endif /* #if !UCONFIG_NO_FORMATTING */ | 132 #endif /* #if !UCONFIG_NO_FORMATTING */ |
131 | 133 |
132 #endif // U_PLATFORM_HAS_WIN32_API | 134 #endif // U_PLATFORM_HAS_WIN32_API |
133 | 135 |
134 #endif // __WINDTFMT | 136 #endif // __WINDTFMT |
OLD | NEW |