Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
calITimezoneService Interface Reference

This service acts as a central access point for the up to date set of Olson timezone definitions. More...

import "calITimezoneProvider.idl";

Inheritance diagram for calITimezoneService:
Inheritance graph
[legend]
Collaboration diagram for calITimezoneService:
Collaboration graph
[legend]

List of all members.

Public Member Functions

calITimezone getTimezone (in AUTF8String tzid)
 Gets a timezone defintion passing a TZID.

Public Attributes

readonly attribute calITimezone floating
readonly attribute calITimezone UTC
readonly attribute AString version
 Provides the version of the underlying timezone database.
readonly attribute calITimezone defaultTimezone
 Returns the default timezone from calendar.timezone.local.
readonly attribute
nsIUTF8StringEnumerator 
timezoneIds

Detailed Description

This service acts as a central access point for the up to date set of Olson timezone definitions.

Definition at line 65 of file calITimezoneProvider.idl.


Member Function Documentation

calITimezone calITimezoneProvider::getTimezone ( in AUTF8String  tzid) [inherited]

Gets a timezone defintion passing a TZID.

Returns null in case of an unknown TZID.

Parameters:
tzida TZID to be resolved
Returns:
a timezone object or null

Member Data Documentation

Returns the default timezone from calendar.timezone.local.

If no timezone has been set, a best guess is taken from the operating system and the timezone is saved into the above mentioned pref.

Definition at line 80 of file calITimezoneProvider.idl.

Definition at line 67 of file calITimezoneProvider.idl.

Definition at line 48 of file calITimezoneProvider.idl.

Definition at line 68 of file calITimezoneProvider.idl.

Provides the version of the underlying timezone database.

Definition at line 73 of file calITimezoneProvider.idl.


The documentation for this interface was generated from the following file: