CPTimeZone is a class to define the behvior of time zone object (like CPDatePicker) More...
#import <CPTimeZone.h>
CPTimeZone is a class to define the behvior of time zone object (like CPDatePicker)
Definition at line 2 of file CPTimeZone.h.
|
implementation |
Synthesized accessor method.
Provided by category CPTimeZone(CPSynthesizedAccessors).
Definition at line 649 of file CPTimeZone.j.
|
implementation |
Return the abbreviationDictionary
Definition at line 443 of file CPTimeZone.j.
Returns the abbreviation from a date Returns nil if the date is nil
Definition at line 552 of file CPTimeZone.j.
|
implementation |
Synthesized accessor method.
Provided by category CPTimeZone(CPSynthesizedAccessors).
Definition at line 633 of file CPTimeZone.j.
|
implementation |
Return the defaultTimeZone
Definition at line 408 of file CPTimeZone.j.
|
implementation |
Returns the description of the timeZone The pattern of the description is : 'name of the timeZone' ('abbreviation of the timeZone') offset 'the timeDifferenceFromGMT'
Reimplemented from CPObject.
Definition at line 604 of file CPTimeZone.j.
|
implementation |
Initialize the default value of the class
Reimplemented from CPObject.
Definition at line 56 of file CPTimeZone.j.
|
implementation |
Init a new time zone from the given timeZone name Returns nil if the given timeZone name doesn't match with any abbreviations Raises an exception if tzName is nil
tzName | the timeZone name |
Definition at line 497 of file CPTimeZone.j.
|
implementation |
Return a time zone from the given timeZone name and data Returns nil if the given timeZone name doesn't match with any abbreviations Raises an exception if tzName is nil
tzName | the timeZone name |
data | the data |
Definition at line 534 of file CPTimeZone.j.
|
implementation |
Returns a bool to compare tow timeZones. This is made by the compare of the name and the data of the timeZones
Definition at line 591 of file CPTimeZone.j.
|
implementation |
Return the knownTimeZoneNames
Definition at line 458 of file CPTimeZone.j.
Return a localized string from the given style and locale
style | the style |
locale | the locale |
Definition at line 618 of file CPTimeZone.j.
|
implementation |
Return the localTimeZone
Definition at line 401 of file CPTimeZone.j.
|
implementation |
Synthesized accessor method.
Provided by category CPTimeZone(CPSynthesizedAccessors).
Definition at line 657 of file CPTimeZone.j.
|
implementation |
Reset the systemTimeZone This will send the notification CPSystemTimeZoneDidChangeNotification
Definition at line 424 of file CPTimeZone.j.
|
implementation |
Synthesized accessor method.
Provided by category CPTimeZone(CPSynthesizedAccessors).
Definition at line 641 of file CPTimeZone.j.
|
implementation |
Returns the number of seconds from GMT
Definition at line 578 of file CPTimeZone.j.
|
implementation |
Returns the number of seconds from GMT for the given date Returns nil if the date is nil
date |
Definition at line 565 of file CPTimeZone.j.
|
implementation |
|
implementation |
Set the defaultTimeZone
aTimeZone | the defaultTimeZone |
Definition at line 416 of file CPTimeZone.j.
|
implementation |
Return the systemTimeZone
Definition at line 436 of file CPTimeZone.j.
|
implementation |
Return the timeZoneDataVersion (not yet implemented)
Definition at line 393 of file CPTimeZone.j.
|
implementation |
Return a time zone from the given seconds Returns nil if the number of seconds doesn't match with any offset
seconds | the number of seconds |
Definition at line 327 of file CPTimeZone.j.
|
implementation |
Returns a time zone from the given abbreviation. Returns nil if the given abbreviation doesn't match with any abbreviations
abbreviation | the given abreviation |
Definition at line 291 of file CPTimeZone.j.
|
implementation |
Return a time zone from the given timeZone name Returns nil if the given timeZone name doesn't match with any abbreviations Raises an exception if tzName is nil
tzName | the timeZone name |
Definition at line 305 of file CPTimeZone.j.
|
implementation |
Return a time zone from the given timeZone name and data Returns nil if the given timeZone name doesn't match with any abbreviations Raises an exception if tzName is nil
tzName | the timeZone name |
data | the data |
Definition at line 317 of file CPTimeZone.j.