Class CFTimeZone

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class CFTimeZone
    extends CFType
    • Constructor Detail

      • CFTimeZone

        protected CFTimeZone()
    • Method Detail

      • create

        public static CFTimeZone create​(java.lang.String name,
                                        CFData data)
      • create

        public static CFTimeZone create​(double ti)
      • create

        public static CFTimeZone create​(java.lang.String name,
                                        boolean tryAbbrev)
      • SystemTimeZoneDidChangeNotification

        public static NSString SystemTimeZoneDidChangeNotification()
        Since:
        Available in iOS 2.0 and later.
      • getClassTypeID

        public static long getClassTypeID()
      • getSystem

        public static CFTimeZone getSystem()
      • resetSystem

        public static void resetSystem()
      • getDefault

        public static CFTimeZone getDefault()
      • setDefault

        public static void setDefault​(CFTimeZone tz)
      • getKnownNames

        public static java.util.List<java.lang.String> getKnownNames()
      • getAbbreviationDictionary

        public static CFDictionary getAbbreviationDictionary()
      • setAbbreviationDictionary

        public static void setAbbreviationDictionary​(CFDictionary dict)
      • create

        public static CFTimeZone create​(CFAllocator allocator,
                                        java.lang.String name,
                                        boolean tryAbbrev)
      • getName

        public java.lang.String getName()
      • getData

        public CFData getData()
      • getSecondsFromGMT

        public double getSecondsFromGMT​(double at)
      • getAbbreviation

        public java.lang.String getAbbreviation​(double at)
      • isDaylightSavingTime

        public boolean isDaylightSavingTime​(double at)
      • getDaylightSavingTimeOffset

        public double getDaylightSavingTimeOffset​(double at)
        Since:
        Available in iOS 2.0 and later.
      • getNextDaylightSavingTimeTransition

        public double getNextDaylightSavingTimeTransition​(double at)
        Since:
        Available in iOS 2.0 and later.
      • getLocalizedName

        public java.lang.String getLocalizedName​(CFTimeZoneNameStyle style,
                                                 CFLocale locale)
        Since:
        Available in iOS 2.0 and later.