Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / jssun / util / calendar / ZoneInfo.js
index 54a2659..a514d9a 100644 (file)
-Clazz.declarePackage ("jssun.util.calendar");\r
-Clazz.load (["java.util.TimeZone", "jssun.util.calendar.CalendarSystem"], "jssun.util.calendar.ZoneInfo", ["java.lang.IllegalArgumentException", "$.NullPointerException", "java.util.Date", "java.util.SimpleTimeZone"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.rawOffset = 0;\r
-this.rawOffsetDiff = 0;\r
-this.checksum = 0;\r
-this.dstSavings = 0;\r
-this.transitions = null;\r
-this.offsets = null;\r
-this.simpleTimeZoneParams = null;\r
-this.willGMTOffsetChange = false;\r
-this.dirty = false;\r
-this.lastRule = null;\r
-Clazz.instantialize (this, arguments);\r
-}, jssun.util.calendar, "ZoneInfo", java.util.TimeZone);\r
-Clazz.defineMethod (c$, "setRawOffsetReally", \r
-function (offset) {\r
-this.rawOffset = offset;\r
-}, "~N");\r
-Clazz.makeConstructor (c$, \r
-function () {\r
-Clazz.superConstructor (this, jssun.util.calendar.ZoneInfo, []);\r
-});\r
-Clazz.makeConstructor (c$, \r
-function (ID, rawOffset) {\r
-this.construct (ID, rawOffset, 0, 0, null, null, null, false);\r
-}, "~S,~N");\r
-Clazz.makeConstructor (c$, \r
-function (ID, rawOffset, dstSavings, checksum, transitions, offsets, simpleTimeZoneParams, willGMTOffsetChange) {\r
-Clazz.superConstructor (this, jssun.util.calendar.ZoneInfo, []);\r
-this.setID (ID);\r
-this.rawOffset = rawOffset;\r
-this.dstSavings = dstSavings;\r
-this.checksum = checksum;\r
-this.transitions = transitions;\r
-this.offsets = offsets;\r
-this.simpleTimeZoneParams = simpleTimeZoneParams;\r
-this.willGMTOffsetChange = willGMTOffsetChange;\r
-}, "~S,~N,~N,~N,~A,~A,~A,~B");\r
-Clazz.defineMethod (c$, "getOffset", \r
-function (date) {\r
-return this.getOffsets (date, null, 0);\r
-}, "~N");\r
-Clazz.defineMethod (c$, "getOffsets", \r
-function (utc, offsets) {\r
-return this.getOffsets (utc, offsets, 0);\r
-}, "~N,~A");\r
-Clazz.defineMethod (c$, "getOffsetsByStandard", \r
-function (standard, offsets) {\r
-return this.getOffsets (standard, offsets, 1);\r
-}, "~N,~A");\r
-Clazz.defineMethod (c$, "getOffsetsByWall", \r
-function (wall, offsets) {\r
-return this.getOffsets (wall, offsets, 2);\r
-}, "~N,~A");\r
-Clazz.defineMethod (c$, "getOffsets", \r
- function (date, offsets, type) {\r
-if (this.transitions == null) {\r
-var offset = this.getLastRawOffset ();\r
-if (offsets != null) {\r
-offsets[0] = offset;\r
-offsets[1] = 0;\r
-}return offset;\r
-}date -= this.rawOffsetDiff;\r
-var index = this.getTransitionIndex (date, type);\r
-if (index < 0) {\r
-var offset = this.getLastRawOffset ();\r
-if (offsets != null) {\r
-offsets[0] = offset;\r
-offsets[1] = 0;\r
-}return offset;\r
-}if (index < this.transitions.length) {\r
-var val = this.transitions[index];\r
-var offset = this.offsets[(val & 15)] + this.rawOffsetDiff;\r
-if (offsets != null) {\r
-var dst = ((val >>> 4) & 0xf);\r
-var save = (dst == 0) ? 0 : this.offsets[dst];\r
-offsets[0] = offset - save;\r
-offsets[1] = save;\r
-}return offset;\r
-}var tz = this.getLastRule ();\r
-if (tz != null) {\r
-var rawoffset = tz.getRawOffset ();\r
-var msec = date;\r
-if (type != 0) {\r
-msec -= this.rawOffset;\r
-}var dstoffset = tz.inDaylightTime ( new java.util.Date (msec)) ? tz.getDSTSavings () : 0;\r
-if (offsets != null) {\r
-offsets[0] = rawoffset;\r
-offsets[1] = dstoffset;\r
-}return rawoffset + dstoffset;\r
-}var offset = this.getLastRawOffset ();\r
-if (offsets != null) {\r
-offsets[0] = offset;\r
-offsets[1] = 0;\r
-}return offset;\r
-}, "~N,~A,~N");\r
-Clazz.defineMethod (c$, "getTransitionIndex", \r
- function (date, type) {\r
-var low = 0;\r
-var high = this.transitions.length - 1;\r
-while (low <= high) {\r
-var mid = Clazz.doubleToInt ((low + high) / 2);\r
-var val = this.transitions[mid];\r
-var midVal = val >> 12;\r
-if (type != 0) {\r
-midVal += this.offsets[(val & 15)];\r
-}if (type == 1) {\r
-var dstIndex = ((val >>> 4) & 0xf);\r
-if (dstIndex != 0) {\r
-midVal -= this.offsets[dstIndex];\r
-}}if (midVal < date) {\r
-low = mid + 1;\r
-} else if (midVal > date) {\r
-high = mid - 1;\r
-} else {\r
-return mid;\r
-}}\r
-if (low >= this.transitions.length) {\r
-return low;\r
-}return low - 1;\r
-}, "~N,~N");\r
-Clazz.defineMethod (c$, "getOffset", \r
-function (era, year, month, day, dayOfWeek, milliseconds) {\r
-if (milliseconds < 0 || milliseconds >= 86400000) {\r
-throw  new IllegalArgumentException ();\r
-}if (era == 0) {\r
-year = 1 - year;\r
-} else if (era != 1) {\r
-throw  new IllegalArgumentException ();\r
-}var date = jssun.util.calendar.ZoneInfo.gcal.newCalendarDate (null);\r
-date.setDate (year, month + 1, day);\r
-if (jssun.util.calendar.ZoneInfo.gcal.validate (date) == false) {\r
-throw  new IllegalArgumentException ();\r
-}if (dayOfWeek < 1 || dayOfWeek > 7) {\r
-throw  new IllegalArgumentException ();\r
-}if (this.transitions == null) {\r
-return this.getLastRawOffset ();\r
-}var dateInMillis = jssun.util.calendar.ZoneInfo.gcal.getTime (date) + milliseconds;\r
-dateInMillis -= this.rawOffset;\r
-return this.getOffsets (dateInMillis, null, 0);\r
-}, "~N,~N,~N,~N,~N,~N");\r
-Clazz.overrideMethod (c$, "setRawOffset", \r
-function (offsetMillis) {\r
-if (offsetMillis == this.rawOffset + this.rawOffsetDiff) {\r
-return;\r
-}this.rawOffsetDiff = offsetMillis - this.rawOffset;\r
-if (this.lastRule != null) {\r
-this.lastRule.setRawOffset (offsetMillis);\r
-}this.dirty = true;\r
-}, "~N");\r
-Clazz.defineMethod (c$, "getRawOffset", \r
-function () {\r
-if (!this.willGMTOffsetChange) {\r
-return this.rawOffset + this.rawOffsetDiff;\r
-}var offsets =  Clazz.newIntArray (2, 0);\r
-this.getOffsets (System.currentTimeMillis (), offsets, 0);\r
-return offsets[0];\r
-});\r
-Clazz.defineMethod (c$, "isDirty", \r
-function () {\r
-return this.dirty;\r
-});\r
-Clazz.defineMethod (c$, "getLastRawOffset", \r
- function () {\r
-return this.rawOffset + this.rawOffsetDiff;\r
-});\r
-Clazz.defineMethod (c$, "useDaylightTime", \r
-function () {\r
-return (this.simpleTimeZoneParams != null);\r
-});\r
-Clazz.overrideMethod (c$, "inDaylightTime", \r
-function (date) {\r
-if (date == null) {\r
-throw  new NullPointerException ();\r
-}if (this.transitions == null) {\r
-return false;\r
-}var utc = date.getTime () - this.rawOffsetDiff;\r
-var index = this.getTransitionIndex (utc, 0);\r
-if (index < 0) {\r
-return false;\r
-}if (index < this.transitions.length) {\r
-return (this.transitions[index] & 240) != 0;\r
-}var tz = this.getLastRule ();\r
-if (tz != null) {\r
-return tz.inDaylightTime (date);\r
-}return false;\r
-}, "java.util.Date");\r
-Clazz.overrideMethod (c$, "getDSTSavings", \r
-function () {\r
-return this.dstSavings;\r
-});\r
-Clazz.overrideMethod (c$, "toString", \r
-function () {\r
-return this.getClass ().getName () + "[id=\"" + this.getID () + "\"" + ",offset=" + this.getLastRawOffset () + ",dstSavings=" + this.dstSavings + ",useDaylight=" + this.useDaylightTime () + ",transitions=" + ((this.transitions != null) ? this.transitions.length : 0) + ",lastRule=" + (this.lastRule == null ? this.getLastRuleInstance () : this.lastRule) + "]";\r
-});\r
-Clazz.defineMethod (c$, "getLastRule", \r
- function () {\r
-if (this.lastRule == null) {\r
-this.lastRule = this.getLastRuleInstance ();\r
-}return this.lastRule;\r
-});\r
-Clazz.defineMethod (c$, "getLastRuleInstance", \r
-function () {\r
-if (this.simpleTimeZoneParams == null) {\r
-return null;\r
-}if (this.simpleTimeZoneParams.length == 10) {\r
-return  new java.util.SimpleTimeZone (this.getLastRawOffset (), this.getID (), this.simpleTimeZoneParams[0], this.simpleTimeZoneParams[1], this.simpleTimeZoneParams[2], this.simpleTimeZoneParams[3], this.simpleTimeZoneParams[4], this.simpleTimeZoneParams[5], this.simpleTimeZoneParams[6], this.simpleTimeZoneParams[7], this.simpleTimeZoneParams[8], this.simpleTimeZoneParams[9], this.dstSavings);\r
-}return  new java.util.SimpleTimeZone (this.getLastRawOffset (), this.getID (), this.simpleTimeZoneParams[0], this.simpleTimeZoneParams[1], this.simpleTimeZoneParams[2], this.simpleTimeZoneParams[3], this.simpleTimeZoneParams[4], this.simpleTimeZoneParams[5], this.simpleTimeZoneParams[6], this.simpleTimeZoneParams[7], this.dstSavings);\r
-});\r
-Clazz.defineMethod (c$, "clone", \r
-function () {\r
-var zi = Clazz.superCall (this, jssun.util.calendar.ZoneInfo, "clone", []);\r
-zi.lastRule = null;\r
-return zi;\r
-});\r
-Clazz.overrideMethod (c$, "hashCode", \r
-function () {\r
-return this.getLastRawOffset () ^ this.checksum;\r
-});\r
-Clazz.overrideMethod (c$, "equals", \r
-function (obj) {\r
-if (this === obj) {\r
-return true;\r
-}if (!(Clazz.instanceOf (obj, jssun.util.calendar.ZoneInfo))) {\r
-return false;\r
-}var that = obj;\r
-return (this.getID ().equals (that.getID ()) && (this.getLastRawOffset () == that.getLastRawOffset ()) && (this.checksum == that.checksum));\r
-}, "~O");\r
-Clazz.overrideMethod (c$, "hasSameRules", \r
-function (other) {\r
-if (this === other) {\r
-return true;\r
-}if (other == null) {\r
-return false;\r
-}if (!(Clazz.instanceOf (other, jssun.util.calendar.ZoneInfo))) {\r
-if (this.getRawOffset () != other.getRawOffset ()) {\r
-return false;\r
-}if ((this.transitions == null) && (this.useDaylightTime () == false) && (other.useDaylightTime () == false)) {\r
-return true;\r
-}return false;\r
-}if (this.getLastRawOffset () != (other).getLastRawOffset ()) {\r
-return false;\r
-}return (this.checksum == (other).checksum);\r
-}, "java.util.TimeZone");\r
-c$.getAliasTable = Clazz.defineMethod (c$, "getAliasTable", \r
-function () {\r
-var aliases = null;\r
-var cache = jssun.util.calendar.ZoneInfo.aliasTable;\r
-if (cache != null) {\r
-aliases = cache;\r
-if (aliases != null) {\r
-return aliases;\r
-}}return aliases;\r
-});\r
-Clazz.defineStatics (c$,\r
-"UTC_TIME", 0,\r
-"STANDARD_TIME", 1,\r
-"WALL_TIME", 2,\r
-"OFFSET_MASK", 0x0f,\r
-"DST_MASK", 0xf0,\r
-"DST_NSHIFT", 4,\r
-"TRANSITION_NSHIFT", 12);\r
-c$.gcal = c$.prototype.gcal = jssun.util.calendar.CalendarSystem.getGregorianCalendar ();\r
-Clazz.defineStatics (c$,\r
-"aliasTable", null);\r
-});\r
+Clazz.declarePackage ("jssun.util.calendar");
+Clazz.load (["java.util.TimeZone", "jssun.util.calendar.CalendarSystem"], "jssun.util.calendar.ZoneInfo", ["java.lang.IllegalArgumentException", "$.NullPointerException", "java.util.Date", "java.util.SimpleTimeZone"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.rawOffset = 0;
+this.rawOffsetDiff = 0;
+this.checksum = 0;
+this.dstSavings = 0;
+this.transitions = null;
+this.offsets = null;
+this.simpleTimeZoneParams = null;
+this.willGMTOffsetChange = false;
+this.dirty = false;
+this.lastRule = null;
+Clazz.instantialize (this, arguments);
+}, jssun.util.calendar, "ZoneInfo", java.util.TimeZone);
+Clazz.defineMethod (c$, "setRawOffsetReally", 
+function (offset) {
+this.rawOffset = offset;
+}, "~N");
+Clazz.makeConstructor (c$, 
+function () {
+Clazz.superConstructor (this, jssun.util.calendar.ZoneInfo, []);
+});
+Clazz.makeConstructor (c$, 
+function (ID, rawOffset) {
+this.construct (ID, rawOffset, 0, 0, null, null, null, false);
+}, "~S,~N");
+Clazz.makeConstructor (c$, 
+function (ID, rawOffset, dstSavings, checksum, transitions, offsets, simpleTimeZoneParams, willGMTOffsetChange) {
+Clazz.superConstructor (this, jssun.util.calendar.ZoneInfo, []);
+this.setID (ID);
+this.rawOffset = rawOffset;
+this.dstSavings = dstSavings;
+this.checksum = checksum;
+this.transitions = transitions;
+this.offsets = offsets;
+this.simpleTimeZoneParams = simpleTimeZoneParams;
+this.willGMTOffsetChange = willGMTOffsetChange;
+}, "~S,~N,~N,~N,~A,~A,~A,~B");
+Clazz.defineMethod (c$, "getOffset", 
+function (date) {
+return this.getOffsets (date, null, 0);
+}, "~N");
+Clazz.defineMethod (c$, "getOffsets", 
+function (utc, offsets) {
+return this.getOffsets (utc, offsets, 0);
+}, "~N,~A");
+Clazz.defineMethod (c$, "getOffsetsByStandard", 
+function (standard, offsets) {
+return this.getOffsets (standard, offsets, 1);
+}, "~N,~A");
+Clazz.defineMethod (c$, "getOffsetsByWall", 
+function (wall, offsets) {
+return this.getOffsets (wall, offsets, 2);
+}, "~N,~A");
+Clazz.defineMethod (c$, "getOffsets", 
+ function (date, offsets, type) {
+if (this.transitions == null) {
+var offset = this.getLastRawOffset ();
+if (offsets != null) {
+offsets[0] = offset;
+offsets[1] = 0;
+}return offset;
+}date -= this.rawOffsetDiff;
+var index = this.getTransitionIndex (date, type);
+if (index < 0) {
+var offset = this.getLastRawOffset ();
+if (offsets != null) {
+offsets[0] = offset;
+offsets[1] = 0;
+}return offset;
+}if (index < this.transitions.length) {
+var val = this.transitions[index];
+var offset = this.offsets[(val & 15)] + this.rawOffsetDiff;
+if (offsets != null) {
+var dst = ((val >>> 4) & 0xf);
+var save = (dst == 0) ? 0 : this.offsets[dst];
+offsets[0] = offset - save;
+offsets[1] = save;
+}return offset;
+}var tz = this.getLastRule ();
+if (tz != null) {
+var rawoffset = tz.getRawOffset ();
+var msec = date;
+if (type != 0) {
+msec -= this.rawOffset;
+}var dstoffset = tz.inDaylightTime ( new java.util.Date (msec)) ? tz.getDSTSavings () : 0;
+if (offsets != null) {
+offsets[0] = rawoffset;
+offsets[1] = dstoffset;
+}return rawoffset + dstoffset;
+}var offset = this.getLastRawOffset ();
+if (offsets != null) {
+offsets[0] = offset;
+offsets[1] = 0;
+}return offset;
+}, "~N,~A,~N");
+Clazz.defineMethod (c$, "getTransitionIndex", 
+ function (date, type) {
+var low = 0;
+var high = this.transitions.length - 1;
+while (low <= high) {
+var mid = Clazz.doubleToInt ((low + high) / 2);
+var val = this.transitions[mid];
+var midVal = val >> 12;
+if (type != 0) {
+midVal += this.offsets[(val & 15)];
+}if (type == 1) {
+var dstIndex = ((val >>> 4) & 0xf);
+if (dstIndex != 0) {
+midVal -= this.offsets[dstIndex];
+}}if (midVal < date) {
+low = mid + 1;
+} else if (midVal > date) {
+high = mid - 1;
+} else {
+return mid;
+}}
+if (low >= this.transitions.length) {
+return low;
+}return low - 1;
+}, "~N,~N");
+Clazz.defineMethod (c$, "getOffset", 
+function (era, year, month, day, dayOfWeek, milliseconds) {
+if (milliseconds < 0 || milliseconds >= 86400000) {
+throw  new IllegalArgumentException ();
+}if (era == 0) {
+year = 1 - year;
+} else if (era != 1) {
+throw  new IllegalArgumentException ();
+}var date = jssun.util.calendar.ZoneInfo.gcal.newCalendarDate (null);
+date.setDate (year, month + 1, day);
+if (jssun.util.calendar.ZoneInfo.gcal.validate (date) == false) {
+throw  new IllegalArgumentException ();
+}if (dayOfWeek < 1 || dayOfWeek > 7) {
+throw  new IllegalArgumentException ();
+}if (this.transitions == null) {
+return this.getLastRawOffset ();
+}var dateInMillis = jssun.util.calendar.ZoneInfo.gcal.getTime (date) + milliseconds;
+dateInMillis -= this.rawOffset;
+return this.getOffsets (dateInMillis, null, 0);
+}, "~N,~N,~N,~N,~N,~N");
+Clazz.overrideMethod (c$, "setRawOffset", 
+function (offsetMillis) {
+if (offsetMillis == this.rawOffset + this.rawOffsetDiff) {
+return;
+}this.rawOffsetDiff = offsetMillis - this.rawOffset;
+if (this.lastRule != null) {
+this.lastRule.setRawOffset (offsetMillis);
+}this.dirty = true;
+}, "~N");
+Clazz.defineMethod (c$, "getRawOffset", 
+function () {
+if (!this.willGMTOffsetChange) {
+return this.rawOffset + this.rawOffsetDiff;
+}var offsets =  Clazz.newIntArray (2, 0);
+this.getOffsets (System.currentTimeMillis (), offsets, 0);
+return offsets[0];
+});
+Clazz.defineMethod (c$, "isDirty", 
+function () {
+return this.dirty;
+});
+Clazz.defineMethod (c$, "getLastRawOffset", 
+ function () {
+return this.rawOffset + this.rawOffsetDiff;
+});
+Clazz.defineMethod (c$, "useDaylightTime", 
+function () {
+return (this.simpleTimeZoneParams != null);
+});
+Clazz.overrideMethod (c$, "inDaylightTime", 
+function (date) {
+if (date == null) {
+throw  new NullPointerException ();
+}if (this.transitions == null) {
+return false;
+}var utc = date.getTime () - this.rawOffsetDiff;
+var index = this.getTransitionIndex (utc, 0);
+if (index < 0) {
+return false;
+}if (index < this.transitions.length) {
+return (this.transitions[index] & 240) != 0;
+}var tz = this.getLastRule ();
+if (tz != null) {
+return tz.inDaylightTime (date);
+}return false;
+}, "java.util.Date");
+Clazz.overrideMethod (c$, "getDSTSavings", 
+function () {
+return this.dstSavings;
+});
+Clazz.overrideMethod (c$, "toString", 
+function () {
+return this.getClass ().getName () + "[id=\"" + this.getID () + "\"" + ",offset=" + this.getLastRawOffset () + ",dstSavings=" + this.dstSavings + ",useDaylight=" + this.useDaylightTime () + ",transitions=" + ((this.transitions != null) ? this.transitions.length : 0) + ",lastRule=" + (this.lastRule == null ? this.getLastRuleInstance () : this.lastRule) + "]";
+});
+Clazz.defineMethod (c$, "getLastRule", 
+ function () {
+if (this.lastRule == null) {
+this.lastRule = this.getLastRuleInstance ();
+}return this.lastRule;
+});
+Clazz.defineMethod (c$, "getLastRuleInstance", 
+function () {
+if (this.simpleTimeZoneParams == null) {
+return null;
+}if (this.simpleTimeZoneParams.length == 10) {
+return  new java.util.SimpleTimeZone (this.getLastRawOffset (), this.getID (), this.simpleTimeZoneParams[0], this.simpleTimeZoneParams[1], this.simpleTimeZoneParams[2], this.simpleTimeZoneParams[3], this.simpleTimeZoneParams[4], this.simpleTimeZoneParams[5], this.simpleTimeZoneParams[6], this.simpleTimeZoneParams[7], this.simpleTimeZoneParams[8], this.simpleTimeZoneParams[9], this.dstSavings);
+}return  new java.util.SimpleTimeZone (this.getLastRawOffset (), this.getID (), this.simpleTimeZoneParams[0], this.simpleTimeZoneParams[1], this.simpleTimeZoneParams[2], this.simpleTimeZoneParams[3], this.simpleTimeZoneParams[4], this.simpleTimeZoneParams[5], this.simpleTimeZoneParams[6], this.simpleTimeZoneParams[7], this.dstSavings);
+});
+Clazz.defineMethod (c$, "clone", 
+function () {
+var zi = Clazz.superCall (this, jssun.util.calendar.ZoneInfo, "clone", []);
+zi.lastRule = null;
+return zi;
+});
+Clazz.overrideMethod (c$, "hashCode", 
+function () {
+return this.getLastRawOffset () ^ this.checksum;
+});
+Clazz.overrideMethod (c$, "equals", 
+function (obj) {
+if (this === obj) {
+return true;
+}if (!(Clazz.instanceOf (obj, jssun.util.calendar.ZoneInfo))) {
+return false;
+}var that = obj;
+return (this.getID ().equals (that.getID ()) && (this.getLastRawOffset () == that.getLastRawOffset ()) && (this.checksum == that.checksum));
+}, "~O");
+Clazz.overrideMethod (c$, "hasSameRules", 
+function (other) {
+if (this === other) {
+return true;
+}if (other == null) {
+return false;
+}if (!(Clazz.instanceOf (other, jssun.util.calendar.ZoneInfo))) {
+if (this.getRawOffset () != other.getRawOffset ()) {
+return false;
+}if ((this.transitions == null) && (this.useDaylightTime () == false) && (other.useDaylightTime () == false)) {
+return true;
+}return false;
+}if (this.getLastRawOffset () != (other).getLastRawOffset ()) {
+return false;
+}return (this.checksum == (other).checksum);
+}, "java.util.TimeZone");
+c$.getAliasTable = Clazz.defineMethod (c$, "getAliasTable", 
+function () {
+var aliases = null;
+var cache = jssun.util.calendar.ZoneInfo.aliasTable;
+if (cache != null) {
+aliases = cache;
+if (aliases != null) {
+return aliases;
+}}return aliases;
+});
+Clazz.defineStatics (c$,
+"UTC_TIME", 0,
+"STANDARD_TIME", 1,
+"WALL_TIME", 2,
+"OFFSET_MASK", 0x0f,
+"DST_MASK", 0xf0,
+"DST_NSHIFT", 4,
+"TRANSITION_NSHIFT", 12);
+c$.gcal = c$.prototype.gcal = jssun.util.calendar.CalendarSystem.getGregorianCalendar ();
+Clazz.defineStatics (c$,
+"aliasTable", null);
+});