com.ibm.pim.interfaces.utils
Interface TimezoneResolver


Deprecated.

public interface TimezoneResolver


Field Summary
static java.lang.String copyright
          Deprecated.  
 
Method Summary
 java.lang.String[] getAllEncodedTimezoneStrings()
          Deprecated. Retrieve an array of encoded timezone strings, representing every timezone.
 java.lang.String[] getAllTimezoneStrings()
          Deprecated. Retrieve an array of textual representations of every timezone
 java.lang.String getEncodedFormFromOffset(int offset)
          Deprecated. Accepts an integer value, representing an offset in minutes past GMT, and returns an encoded timezone (if one exists) that represents that offset.
 java.lang.String getEncodedFormFromTimezoneString(java.lang.String timezoneString)
          Deprecated. Accepts a textual representation of a timezone, and returns an appropriate encoded timezone (if one exists) Where there are multiple possible matches for a timezone string, this method will return the first match found.
 java.lang.String getOffsetFromEncodedForm(java.lang.String encodedTimezone)
          Deprecated. Accepts an encoded timezone, as retrievable via getAttribute, and returns the offset in minutes from GMT
 java.lang.String getTimezoneStringFromEncodedForm(java.lang.String encodedTimezone)
          Deprecated. Accepts an encoded timezone, as retrievable via getAttribute, and returns a textual representation of it
 

Field Detail

copyright

static final java.lang.String copyright
Deprecated. 
See Also:
Constant Field Values
Method Detail

getOffsetFromEncodedForm

java.lang.String getOffsetFromEncodedForm(java.lang.String encodedTimezone)
Deprecated. 
Accepts an encoded timezone, as retrievable via getAttribute, and returns the offset in minutes from GMT

Parameters:
encodedTimezone - an encoded timezone
Returns:
string containing the offset from GMT
Throws:
java.lang.IllegalArgumentException - if the encoded timezone is not a valid representation.

getTimezoneStringFromEncodedForm

java.lang.String getTimezoneStringFromEncodedForm(java.lang.String encodedTimezone)
Deprecated. 
Accepts an encoded timezone, as retrievable via getAttribute, and returns a textual representation of it

Parameters:
encodedTimezone - an encoded timezone
Returns:
textual representation of timezone.
Throws:
java.lang.IllegalArgumentException - if the encoded timezone is not a valid representation.

getEncodedFormFromOffset

java.lang.String getEncodedFormFromOffset(int offset)
Deprecated. 
Accepts an integer value, representing an offset in minutes past GMT, and returns an encoded timezone (if one exists) that represents that offset. Where there are multiple possible matches for a timezone offset, this method will return the first match found.

Parameters:
offset - in minutes from GMT
Returns:
an encoded Timezone string, suitable for use with setAttribute etc.

getEncodedFormFromTimezoneString

java.lang.String getEncodedFormFromTimezoneString(java.lang.String timezoneString)
Deprecated. 
Accepts a textual representation of a timezone, and returns an appropriate encoded timezone (if one exists) Where there are multiple possible matches for a timezone string, this method will return the first match found.

Parameters:
timezoneString - a textual representation of a timezone, as obtained by 'getTimezoneStringFromEncodedForm' or 'getAllTimezoneStrings'
Returns:
an encoded Timezone string, suitable for use with setAttribute etc.

getAllTimezoneStrings

java.lang.String[] getAllTimezoneStrings()
Deprecated. 
Retrieve an array of textual representations of every timezone

Returns:
an array of timezone strings.

getAllEncodedTimezoneStrings

java.lang.String[] getAllEncodedTimezoneStrings()
Deprecated. 
Retrieve an array of encoded timezone strings, representing every timezone.