Home | History | Annotate | Download | only in unicode

Lines Matching defs:VTimeZone

14  * \brief C++ API: RFC2445 VTIMEZONE support
28 * <code>VTimeZone</code> is a class implementing RFC2445 VTIMEZONE. You can create a
29 * <code>VTimeZone</code> instance from a time zone ID supported by <code>TimeZone</code>.
30 * With the <code>VTimeZone</code> instance created from the ID, you can write out the rule
31 * in RFC2445 VTIMEZONE format. Also, you can create a <code>VTimeZone</code> instance
32 * from RFC2445 VTIMEZONE data stream, which allows you to calculate time
34 * <code>VTimeZone</code> from any other ICU <code>BasicTimeZone</code>.
36 * Note: The consumer of this class reading or writing VTIMEZONE data is responsible to
37 * decode or encode Non-ASCII text. Methods reading/writing VTIMEZONE data in this class
41 class U_I18N_API VTimeZone : public BasicTimeZone {
45 * @param source The <code>VTimeZone</code> object to be copied.
48 VTimeZone(const VTimeZone& source);
54 virtual ~VTimeZone();
61 VTimeZone& operator=(const VTimeZone& right);
84 * Create a <code>VTimeZone</code> instance by the time zone ID.
86 * @return A <code>VTimeZone</code> object initialized by the time zone ID,
90 static VTimeZone* createVTimeZoneByID(const UnicodeString& ID);
93 * Create a <code>VTimeZone</code> instance using a basic time zone.
96 * @return A <code>VTimeZone</code> object initialized by the basic time zone.
99 static VTimeZone* createVTimeZoneFromBasicTimeZone(const BasicTimeZone& basicTZ,
103 * Create a <code>VTimeZone</code> instance by RFC2445 VTIMEZONE data
105 * @param vtzdata The string including VTIMEZONE data block
107 * @return A <code>VTimeZone</code> initialized by the VTIMEZONE data or
108 * NULL if failed to load the rule from the VTIMEZONE data.
111 static VTimeZone* createVTimeZone(const UnicodeString& vtzdata, UErrorCode& status);
114 * Gets the RFC2445 TZURL property value. When a <code>VTimeZone</code> instance was
115 * created from VTIMEZONE data, the initial value is set by the TZURL property value
131 * Gets the RFC2445 LAST-MODIFIED property value. When a <code>VTimeZone</code> instance
132 * was created from VTIMEZONE data, the initial value is set by the LAST-MODIFIED property
148 * Writes RFC2445 VTIMEZONE data for this time zone
149 * @param result Output param to filled in with the VTIMEZONE data.
156 * Writes RFC2445 VTIMEZONE data for this time zone applicalbe
159 * @param result Output param to filled in with the VTIMEZONE data.
166 * Writes RFC2445 VTIMEZONE data applicalbe for the specified date.
170 * the VTIMEZONE data which can be handled these implementations. The rules
174 * @param result Output param to filled in with the VTIMEZONE data.
369 VTimeZone();
370 static VTimeZone* createVTimeZone(VTZReader* reader);