X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/4388f060552cc537e71e957d32f35e9d75a61233..b331163bffd790ced0e88b73f44f86d49ccc48a5:/icuSources/i18n/unicode/vtzone.h diff --git a/icuSources/i18n/unicode/vtzone.h b/icuSources/i18n/unicode/vtzone.h index 9b0a1f0c..92817ba1 100644 --- a/icuSources/i18n/unicode/vtzone.h +++ b/icuSources/i18n/unicode/vtzone.h @@ -1,6 +1,6 @@ /* ******************************************************************************* -* Copyright (C) 2007-2012, International Business Machines Corporation and +* Copyright (C) 2007-2013, International Business Machines Corporation and * others. All Rights Reserved. ******************************************************************************* */ @@ -160,7 +160,7 @@ public: * @param status Output param to filled in with a success or an error. * @stable ICU 3.8 */ - void write(UDate start, UnicodeString& result, UErrorCode& status) /*const*/; + void write(UDate start, UnicodeString& result, UErrorCode& status) const; /** * Writes RFC2445 VTIMEZONE data applicalbe for the specified date. @@ -175,7 +175,7 @@ public: * @param status Output param to filled in with a success or an error. * @stable ICU 3.8 */ - void writeSimple(UDate time, UnicodeString& result, UErrorCode& status) /*const*/; + void writeSimple(UDate time, UnicodeString& result, UErrorCode& status) const; /** * Clones TimeZone objects polymorphically. Clients are responsible for deleting @@ -319,7 +319,7 @@ public: * @return TRUE if the transition is found. * @stable ICU 3.8 */ - virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) /*const*/; + virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const; /** * Gets the most recent time zone transition before the base time. @@ -329,7 +329,7 @@ public: * @return TRUE if the transition is found. * @stable ICU 3.8 */ - virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) /*const*/; + virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const; /** * Returns the number of TimeZoneRules which represents time transitions, @@ -339,7 +339,7 @@ public: * @return The number of TimeZoneRules representing time transitions. * @stable ICU 3.8 */ - virtual int32_t countTransitionRules(UErrorCode& status) /*const*/; + virtual int32_t countTransitionRules(UErrorCode& status) const; /** * Gets the InitialTimeZoneRule and the set of TimeZoneRule @@ -358,7 +358,7 @@ public: * @stable ICU 3.8 */ virtual void getTimeZoneRules(const InitialTimeZoneRule*& initial, - const TimeZoneRule* trsrules[], int32_t& trscount, UErrorCode& status) /*const*/; + const TimeZoneRule* trsrules[], int32_t& trscount, UErrorCode& status) const; private: enum { DEFAULT_VTIMEZONE_LINES = 100 }; @@ -369,8 +369,8 @@ private: VTimeZone(); static VTimeZone* createVTimeZone(VTZReader* reader); void write(VTZWriter& writer, UErrorCode& status) const; - void write(UDate start, VTZWriter& writer, UErrorCode& status) /*const*/; - void writeSimple(UDate time, VTZWriter& writer, UErrorCode& status) /*const*/; + void write(UDate start, VTZWriter& writer, UErrorCode& status) const; + void writeSimple(UDate time, VTZWriter& writer, UErrorCode& status) const; void load(VTZReader& reader, UErrorCode& status); void parse(UErrorCode& status);