All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.core.TimeZone

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.core.TimeZone

public class TimeZone
extends NativeObject
implements Coding
This class wraps the Objective-C class NSTimeZone.


Constructor Index

 o TimeZone()
This default constructor is equivalent to Objective-C's [[NSTimeZone alloc] init].
 o TimeZone(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o TimeZone(Coder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

Method Index

 o abbreviationDictionary()
A wrapper for the + abbreviationDictionary Objective-C class method.
 o defaultTimeZone()
A wrapper for the + defaultTimeZone Objective-C class method.
 o encodeWithCoder(Coder)
A wrapper for the - encodeWithCoder: Objective-C instance method defined by the Coding interface (known as the NSCoding Objective-C protocol).
 o isDaylightSavingTimeZone()
A wrapper for the - isDaylightSavingTimeZone Objective-C instance method.
 o localTimeZone()
A wrapper for the + localTimeZone Objective-C class method.
 o setDefaultTimeZone(TimeZone)
A wrapper for the + setDefaultTimeZone: Objective-C class method.
 o timeZoneAbbreviation()
A wrapper for the - timeZoneAbbreviation Objective-C instance method.
 o timeZoneForDate(Date)
A wrapper for the - timeZoneForDate: Objective-C instance method.
 o timeZoneForSecondsFromGMT(int)
A wrapper for the + timeZoneForSecondsFromGMT: Objective-C class method.
 o timeZoneName()
A wrapper for the - timeZoneName Objective-C instance method.
 o timeZoneSecondsFromGMT()
A wrapper for the - timeZoneSecondsFromGMT Objective-C instance method.
 o timeZoneWithAbbreviation(String)
A wrapper for the + timeZoneWithAbbreviation: Objective-C class method.
 o timeZoneWithName(String)
A wrapper for the + timeZoneWithName: Objective-C class method.

Constructors

 o TimeZone
 protected TimeZone(boolean shouldAllocate,
                    int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o TimeZone
 public TimeZone()
This default constructor is equivalent to Objective-C's [[NSTimeZone alloc] init].

 o TimeZone
 public TimeZone(Coder aDecoder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

Methods

 o setDefaultTimeZone
 public static native void setDefaultTimeZone(TimeZone aTimeZone)
A wrapper for the + setDefaultTimeZone: Objective-C class method.

 o defaultTimeZone
 public static native TimeZone defaultTimeZone()
A wrapper for the + defaultTimeZone Objective-C class method.

 o localTimeZone
 public static native TimeZone localTimeZone()
A wrapper for the + localTimeZone Objective-C class method.

 o abbreviationDictionary
 public static native Dictionary abbreviationDictionary()
A wrapper for the + abbreviationDictionary Objective-C class method.

 o timeZoneWithName
 public static native TimeZone timeZoneWithName(String aTimeZoneName)
A wrapper for the + timeZoneWithName: Objective-C class method.

 o timeZoneWithAbbreviation
 public static native TimeZone timeZoneWithAbbreviation(String abbreviation)
A wrapper for the + timeZoneWithAbbreviation: Objective-C class method.

 o timeZoneForSecondsFromGMT
 public static native TimeZone timeZoneForSecondsFromGMT(int seconds)
A wrapper for the + timeZoneForSecondsFromGMT: Objective-C class method.

 o timeZoneForDate
 public native TimeZone timeZoneForDate(Date date)
A wrapper for the - timeZoneForDate: Objective-C instance method.

 o timeZoneName
 public native String timeZoneName()
A wrapper for the - timeZoneName Objective-C instance method.

 o timeZoneSecondsFromGMT
 public native int timeZoneSecondsFromGMT()
A wrapper for the - timeZoneSecondsFromGMT Objective-C instance method.

 o timeZoneAbbreviation
 public native String timeZoneAbbreviation()
A wrapper for the - timeZoneAbbreviation Objective-C instance method.

 o isDaylightSavingTimeZone
 public native boolean isDaylightSavingTimeZone()
A wrapper for the - isDaylightSavingTimeZone Objective-C instance method.

 o encodeWithCoder
 public native void encodeWithCoder(Coder aCoder)
A wrapper for the - encodeWithCoder: Objective-C instance method defined by the Coding interface (known as the NSCoding Objective-C protocol).


All Packages  Class Hierarchy  This Package  Previous  Next  Index