Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Protected Attributes
calTimezone Class Reference

#include <calTimezone.h>

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

List of all members.

Public Member Functions

 calTimezone (nsCString const &tzid, calIIcalComponent *component)
AUTF8String toString ()
 For debugging purposes.

Public Attributes

readonly attribute
calITimezoneProvider 
provider
 The timezone provider this timezone belongs to, if any.
readonly attribute
calIIcalComponent 
icalComponent
 VTIMEZONE ical component, null if floating or UTC.
readonly attribute AUTF8String tzid
 The TZID of this timezone.
readonly attribute boolean isFloating
 Whether this timezone is the "floating" timezone.
readonly attribute boolean isUTC
 Whether this is the "UTC" timezone.
readonly attribute AUTF8String latitude
 Latitude of timezone or void/null if unknown.
readonly attribute AUTF8String longitude
 Longitude of timezone or void/null if unknown.
readonly attribute AString displayName
 Localized name of the timezone or void/null if unknown.

Protected Attributes

nsCString const mTzid
nsCOMPtr< calIIcalComponent > const mIcalComponent

Detailed Description

Definition at line 44 of file calTimezone.h.


Constructor & Destructor Documentation

calTimezone::calTimezone ( nsCString const tzid,
calIIcalComponent component 
) [inline]

Definition at line 48 of file calTimezone.h.

        : mTzid(tzid),
          mIcalComponent(component) {}

Member Function Documentation

AUTF8String calITimezone::toString ( ) [inherited]

For debugging purposes.

Returns:
"UTC", "floating" or component's ical representation

Member Data Documentation

readonly attribute AString calITimezone::displayName [inherited]

Localized name of the timezone or void/null if unknown.

Definition at line 85 of file calITimezone.idl.

VTIMEZONE ical component, null if floating or UTC.

Definition at line 55 of file calITimezone.idl.

Whether this timezone is the "floating" timezone.

Definition at line 65 of file calITimezone.idl.

readonly attribute boolean calITimezone::isUTC [inherited]

Whether this is the "UTC" timezone.

Definition at line 70 of file calITimezone.idl.

readonly attribute AUTF8String calITimezone::latitude [inherited]

Latitude of timezone or void/null if unknown.

Definition at line 75 of file calITimezone.idl.

readonly attribute AUTF8String calITimezone::longitude [inherited]

Longitude of timezone or void/null if unknown.

Definition at line 80 of file calITimezone.idl.

Definition at line 57 of file calTimezone.h.

Definition at line 56 of file calTimezone.h.

The timezone provider this timezone belongs to, if any.

Definition at line 50 of file calITimezone.idl.

readonly attribute AUTF8String calITimezone::tzid [inherited]

The TZID of this timezone.

Definition at line 60 of file calITimezone.idl.


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