Class TimeZoneNamesImpl.TZ2MZsCache

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private TZ2MZsCache()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.util.List<TimeZoneNamesImpl.MZMapEntry> createInstance​(java.lang.String key, java.lang.String data)
      Creates an instance for the key and data.
      private static long parseDate​(java.lang.String text)
      Private static method parsing the date text used by meta zone to time zone mapping data in locale resource.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TZ2MZsCache

        private TZ2MZsCache()
    • Method Detail

      • createInstance

        protected java.util.List<TimeZoneNamesImpl.MZMapEntry> createInstance​(java.lang.String key,
                                                                              java.lang.String data)
        Description copied from class: CacheBase
        Creates an instance for the key and data. Must be overridden.
        Specified by:
        createInstance in class CacheBase<java.lang.String,​java.util.List<TimeZoneNamesImpl.MZMapEntry>,​java.lang.String>
        Parameters:
        key - Cache lookup key for the requested instance
        data - Data for the instance creation
        Returns:
        The requested instance
      • parseDate

        private static long parseDate​(java.lang.String text)
        Private static method parsing the date text used by meta zone to time zone mapping data in locale resource.
        Parameters:
        text - the UTC date text in the format of "yyyy-MM-dd HH:mm", for example - "1970-01-01 00:00"
        Returns:
        the date