Package com.ibm.icu.util

Examples of com.ibm.icu.util.SimpleTimeZone.freeze()


      assert (data[2] >= 0 && data[2] <= kMAX_CUSTOM_MIN);
      assert (data[3] >= 0 && data[3] <= kMAX_CUSTOM_SEC);
      String id = formatCustomID(data[1], data[2], data[3], data[0] < 0);
      int offset = data[0] * ((data[1] * 60 + data[2]) * 60 + data[3]) * 1000;
      SimpleTimeZone tz = new SimpleTimeZone(offset, id);
      tz.freeze();
      return tz;
    }
  }

  private static final CustomTimeZoneCache CUSTOM_ZONE_CACHE = new CustomTimeZoneCache();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.