Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / jssun / util / calendar / CalendarDate.js
index 3f9e55c..68f3dea 100644 (file)
-Clazz.declarePackage ("jssun.util.calendar");\r
-Clazz.load (null, "jssun.util.calendar.CalendarDate", ["java.lang.InternalError", "$.StringBuilder", "java.util.TimeZone", "jssun.util.calendar.CalendarUtils"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.era = null;\r
-this.year = 0;\r
-this.month = 0;\r
-this.dayOfMonth = 0;\r
-this.dayOfWeek = -2147483648;\r
-this.leapYear = false;\r
-this.hours = 0;\r
-this.minutes = 0;\r
-this.seconds = 0;\r
-this.millis = 0;\r
-this.fraction = 0;\r
-this.normalized = false;\r
-this.zoneinfo = null;\r
-this.zoneOffset = 0;\r
-this.daylightSaving = 0;\r
-this.forceStandardTime = false;\r
-this.locale = null;\r
-Clazz.instantialize (this, arguments);\r
-}, jssun.util.calendar, "CalendarDate", null, Cloneable);\r
-Clazz.makeConstructor (c$, \r
-function () {\r
-this.construct (java.util.TimeZone.getDefault ());\r
-});\r
-Clazz.makeConstructor (c$, \r
-function (zone) {\r
-this.zoneinfo = zone;\r
-}, "java.util.TimeZone");\r
-Clazz.defineMethod (c$, "getEra", \r
-function () {\r
-return this.era;\r
-});\r
-Clazz.defineMethod (c$, "setEra", \r
-function (era) {\r
-if (this.era === era) {\r
-return this;\r
-}this.era = era;\r
-this.normalized = false;\r
-return this;\r
-}, "jssun.util.calendar.Era");\r
-Clazz.defineMethod (c$, "getYear", \r
-function () {\r
-return this.year;\r
-});\r
-Clazz.defineMethod (c$, "setYear", \r
-function (year) {\r
-if (this.year != year) {\r
-this.year = year;\r
-this.normalized = false;\r
-}return this;\r
-}, "~N");\r
-Clazz.defineMethod (c$, "addYear", \r
-function (n) {\r
-if (n != 0) {\r
-this.year += n;\r
-this.normalized = false;\r
-}return this;\r
-}, "~N");\r
-Clazz.defineMethod (c$, "isLeapYear", \r
-function () {\r
-return this.leapYear;\r
-});\r
-Clazz.defineMethod (c$, "setLeapYear", \r
-function (leapYear) {\r
-this.leapYear = leapYear;\r
-}, "~B");\r
-Clazz.defineMethod (c$, "getMonth", \r
-function () {\r
-return this.month;\r
-});\r
-Clazz.defineMethod (c$, "setMonth", \r
-function (month) {\r
-if (this.month != month) {\r
-this.month = month;\r
-this.normalized = false;\r
-}return this;\r
-}, "~N");\r
-Clazz.defineMethod (c$, "addMonth", \r
-function (n) {\r
-if (n != 0) {\r
-this.month += n;\r
-this.normalized = false;\r
-}return this;\r
-}, "~N");\r
-Clazz.defineMethod (c$, "getDayOfMonth", \r
-function () {\r
-return this.dayOfMonth;\r
-});\r
-Clazz.defineMethod (c$, "setDayOfMonth", \r
-function (date) {\r
-if (this.dayOfMonth != date) {\r
-this.dayOfMonth = date;\r
-this.normalized = false;\r
-}return this;\r
-}, "~N");\r
-Clazz.defineMethod (c$, "addDayOfMonth", \r
-function (n) {\r
-if (n != 0) {\r
-this.dayOfMonth += n;\r
-this.normalized = false;\r
-}return this;\r
-}, "~N");\r
-Clazz.defineMethod (c$, "getDayOfWeek", \r
-function () {\r
-if (!this.isNormalized ()) {\r
-this.dayOfWeek = -2147483648;\r
-}return this.dayOfWeek;\r
-});\r
-Clazz.defineMethod (c$, "getHours", \r
-function () {\r
-return this.hours;\r
-});\r
-Clazz.defineMethod (c$, "setHours", \r
-function (hours) {\r
-if (this.hours != hours) {\r
-this.hours = hours;\r
-this.normalized = false;\r
-}return this;\r
-}, "~N");\r
-Clazz.defineMethod (c$, "addHours", \r
-function (n) {\r
-if (n != 0) {\r
-this.hours += n;\r
-this.normalized = false;\r
-}return this;\r
-}, "~N");\r
-Clazz.defineMethod (c$, "getMinutes", \r
-function () {\r
-return this.minutes;\r
-});\r
-Clazz.defineMethod (c$, "setMinutes", \r
-function (minutes) {\r
-if (this.minutes != minutes) {\r
-this.minutes = minutes;\r
-this.normalized = false;\r
-}return this;\r
-}, "~N");\r
-Clazz.defineMethod (c$, "addMinutes", \r
-function (n) {\r
-if (n != 0) {\r
-this.minutes += n;\r
-this.normalized = false;\r
-}return this;\r
-}, "~N");\r
-Clazz.defineMethod (c$, "getSeconds", \r
-function () {\r
-return this.seconds;\r
-});\r
-Clazz.defineMethod (c$, "setSeconds", \r
-function (seconds) {\r
-if (this.seconds != seconds) {\r
-this.seconds = seconds;\r
-this.normalized = false;\r
-}return this;\r
-}, "~N");\r
-Clazz.defineMethod (c$, "addSeconds", \r
-function (n) {\r
-if (n != 0) {\r
-this.seconds += n;\r
-this.normalized = false;\r
-}return this;\r
-}, "~N");\r
-Clazz.defineMethod (c$, "getMillis", \r
-function () {\r
-return this.millis;\r
-});\r
-Clazz.defineMethod (c$, "setMillis", \r
-function (millis) {\r
-if (this.millis != millis) {\r
-this.millis = millis;\r
-this.normalized = false;\r
-}return this;\r
-}, "~N");\r
-Clazz.defineMethod (c$, "addMillis", \r
-function (n) {\r
-if (n != 0) {\r
-this.millis += n;\r
-this.normalized = false;\r
-}return this;\r
-}, "~N");\r
-Clazz.defineMethod (c$, "getTimeOfDay", \r
-function () {\r
-if (!this.isNormalized ()) {\r
-return this.fraction = -9223372036854775808;\r
-}return this.fraction;\r
-});\r
-Clazz.defineMethod (c$, "setDate", \r
-function (year, month, dayOfMonth) {\r
-this.setYear (year);\r
-this.setMonth (month);\r
-this.setDayOfMonth (dayOfMonth);\r
-return this;\r
-}, "~N,~N,~N");\r
-Clazz.defineMethod (c$, "addDate", \r
-function (year, month, dayOfMonth) {\r
-this.addYear (year);\r
-this.addMonth (month);\r
-this.addDayOfMonth (dayOfMonth);\r
-return this;\r
-}, "~N,~N,~N");\r
-Clazz.defineMethod (c$, "setTimeOfDay", \r
-function (hours, minutes, seconds, millis) {\r
-this.setHours (hours);\r
-this.setMinutes (minutes);\r
-this.setSeconds (seconds);\r
-this.setMillis (millis);\r
-return this;\r
-}, "~N,~N,~N,~N");\r
-Clazz.defineMethod (c$, "addTimeOfDay", \r
-function (hours, minutes, seconds, millis) {\r
-this.addHours (hours);\r
-this.addMinutes (minutes);\r
-this.addSeconds (seconds);\r
-this.addMillis (millis);\r
-return this;\r
-}, "~N,~N,~N,~N");\r
-Clazz.defineMethod (c$, "setTimeOfDay", \r
-function (fraction) {\r
-this.fraction = fraction;\r
-}, "~N");\r
-Clazz.defineMethod (c$, "isNormalized", \r
-function () {\r
-return this.normalized;\r
-});\r
-Clazz.defineMethod (c$, "isStandardTime", \r
-function () {\r
-return this.forceStandardTime;\r
-});\r
-Clazz.defineMethod (c$, "setStandardTime", \r
-function (standardTime) {\r
-this.forceStandardTime = standardTime;\r
-}, "~B");\r
-Clazz.defineMethod (c$, "isDaylightTime", \r
-function () {\r
-if (this.isStandardTime ()) {\r
-return false;\r
-}return this.daylightSaving != 0;\r
-});\r
-Clazz.defineMethod (c$, "setLocale", \r
-function (loc) {\r
-this.locale = loc;\r
-}, "java.util.Locale");\r
-Clazz.defineMethod (c$, "getZone", \r
-function () {\r
-return this.zoneinfo;\r
-});\r
-Clazz.defineMethod (c$, "setZone", \r
-function (zoneinfo) {\r
-this.zoneinfo = zoneinfo;\r
-return this;\r
-}, "java.util.TimeZone");\r
-Clazz.defineMethod (c$, "isSameDate", \r
-function (date) {\r
-return this.getDayOfWeek () == date.getDayOfWeek () && this.getMonth () == date.getMonth () && this.getYear () == date.getYear () && this.getEra () === date.getEra ();\r
-}, "jssun.util.calendar.CalendarDate");\r
-Clazz.defineMethod (c$, "equals", \r
-function (obj) {\r
-if (!(Clazz.instanceOf (obj, jssun.util.calendar.CalendarDate))) {\r
-return false;\r
-}var that = obj;\r
-if (this.isNormalized () != that.isNormalized ()) {\r
-return false;\r
-}var hasZone = this.zoneinfo != null;\r
-var thatHasZone = that.zoneinfo != null;\r
-if (hasZone != thatHasZone) {\r
-return false;\r
-}if (hasZone && !this.zoneinfo.equals (that.zoneinfo)) {\r
-return false;\r
-}return (this.getEra () === that.getEra () && this.year == that.year && this.month == that.month && this.dayOfMonth == that.dayOfMonth && this.hours == that.hours && this.minutes == that.minutes && this.seconds == that.seconds && this.millis == that.millis && this.zoneOffset == that.zoneOffset);\r
-}, "~O");\r
-Clazz.defineMethod (c$, "hashCode", \r
-function () {\r
-var hash = (((((this.year - 1970) * 12) + (this.month - 1)) * 30) + this.dayOfMonth) * 24;\r
-hash = ((((((hash + this.hours) * 60) + this.minutes) * 60) + this.seconds) * 1000) + this.millis;\r
-hash -= this.zoneOffset;\r
-var normalized = this.isNormalized () ? 1 : 0;\r
-var era = 0;\r
-var e = this.getEra ();\r
-if (e != null) {\r
-era = e.hashCode ();\r
-}var zone = this.zoneinfo != null ? this.zoneinfo.hashCode () : 0;\r
-return hash * (hash >> 32) ^ era ^ normalized ^ zone;\r
-});\r
-Clazz.defineMethod (c$, "clone", \r
-function () {\r
-try {\r
-return Clazz.superCall (this, jssun.util.calendar.CalendarDate, "clone", []);\r
-} catch (e) {\r
-if (Clazz.exceptionOf (e, CloneNotSupportedException)) {\r
-throw  new InternalError ();\r
-} else {\r
-throw e;\r
-}\r
-}\r
-});\r
-Clazz.overrideMethod (c$, "toString", \r
-function () {\r
-var sb =  new StringBuilder ();\r
-jssun.util.calendar.CalendarUtils.sprintf0d (sb, this.year, 4).append ('-');\r
-jssun.util.calendar.CalendarUtils.sprintf0d (sb, this.month, 2).append ('-');\r
-jssun.util.calendar.CalendarUtils.sprintf0d (sb, this.dayOfMonth, 2).append ('T');\r
-jssun.util.calendar.CalendarUtils.sprintf0d (sb, this.hours, 2).append (':');\r
-jssun.util.calendar.CalendarUtils.sprintf0d (sb, this.minutes, 2).append (':');\r
-jssun.util.calendar.CalendarUtils.sprintf0d (sb, this.seconds, 2).append ('.');\r
-jssun.util.calendar.CalendarUtils.sprintf0d (sb, this.millis, 3);\r
-if (this.zoneOffset == 0) {\r
-sb.append ('Z');\r
-} else if (this.zoneOffset != -2147483648) {\r
-var offset;\r
-var sign;\r
-if (this.zoneOffset > 0) {\r
-offset = this.zoneOffset;\r
-sign = '+';\r
-} else {\r
-offset = -this.zoneOffset;\r
-sign = '-';\r
-}offset = Clazz.doubleToInt (offset / 60000);\r
-sb.append (sign);\r
-jssun.util.calendar.CalendarUtils.sprintf0d (sb, Clazz.doubleToInt (offset / 60), 2);\r
-jssun.util.calendar.CalendarUtils.sprintf0d (sb, offset % 60, 2);\r
-} else {\r
-sb.append (" local time");\r
-}return sb.toString ();\r
-});\r
-Clazz.defineMethod (c$, "setDayOfWeek", \r
-function (dayOfWeek) {\r
-this.dayOfWeek = dayOfWeek;\r
-}, "~N");\r
-Clazz.defineMethod (c$, "setNormalized", \r
-function (normalized) {\r
-this.normalized = normalized;\r
-}, "~B");\r
-Clazz.defineMethod (c$, "getZoneOffset", \r
-function () {\r
-return this.zoneOffset;\r
-});\r
-Clazz.defineMethod (c$, "setZoneOffset", \r
-function (offset) {\r
-this.zoneOffset = offset;\r
-}, "~N");\r
-Clazz.defineMethod (c$, "getDaylightSaving", \r
-function () {\r
-return this.daylightSaving;\r
-});\r
-Clazz.defineMethod (c$, "setDaylightSaving", \r
-function (daylightSaving) {\r
-this.daylightSaving = daylightSaving;\r
-}, "~N");\r
-Clazz.defineStatics (c$,\r
-"FIELD_UNDEFINED", -2147483648,\r
-"TIME_UNDEFINED", -9223372036854775808);\r
-});\r
+Clazz.declarePackage ("jssun.util.calendar");
+Clazz.load (null, "jssun.util.calendar.CalendarDate", ["java.lang.InternalError", "$.StringBuilder", "java.util.TimeZone", "jssun.util.calendar.CalendarUtils"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.era = null;
+this.year = 0;
+this.month = 0;
+this.dayOfMonth = 0;
+this.dayOfWeek = -2147483648;
+this.leapYear = false;
+this.hours = 0;
+this.minutes = 0;
+this.seconds = 0;
+this.millis = 0;
+this.fraction = 0;
+this.normalized = false;
+this.zoneinfo = null;
+this.zoneOffset = 0;
+this.daylightSaving = 0;
+this.forceStandardTime = false;
+this.locale = null;
+Clazz.instantialize (this, arguments);
+}, jssun.util.calendar, "CalendarDate", null, Cloneable);
+Clazz.makeConstructor (c$, 
+function () {
+this.construct (java.util.TimeZone.getDefault ());
+});
+Clazz.makeConstructor (c$, 
+function (zone) {
+this.zoneinfo = zone;
+}, "java.util.TimeZone");
+Clazz.defineMethod (c$, "getEra", 
+function () {
+return this.era;
+});
+Clazz.defineMethod (c$, "setEra", 
+function (era) {
+if (this.era === era) {
+return this;
+}this.era = era;
+this.normalized = false;
+return this;
+}, "jssun.util.calendar.Era");
+Clazz.defineMethod (c$, "getYear", 
+function () {
+return this.year;
+});
+Clazz.defineMethod (c$, "setYear", 
+function (year) {
+if (this.year != year) {
+this.year = year;
+this.normalized = false;
+}return this;
+}, "~N");
+Clazz.defineMethod (c$, "addYear", 
+function (n) {
+if (n != 0) {
+this.year += n;
+this.normalized = false;
+}return this;
+}, "~N");
+Clazz.defineMethod (c$, "isLeapYear", 
+function () {
+return this.leapYear;
+});
+Clazz.defineMethod (c$, "setLeapYear", 
+function (leapYear) {
+this.leapYear = leapYear;
+}, "~B");
+Clazz.defineMethod (c$, "getMonth", 
+function () {
+return this.month;
+});
+Clazz.defineMethod (c$, "setMonth", 
+function (month) {
+if (this.month != month) {
+this.month = month;
+this.normalized = false;
+}return this;
+}, "~N");
+Clazz.defineMethod (c$, "addMonth", 
+function (n) {
+if (n != 0) {
+this.month += n;
+this.normalized = false;
+}return this;
+}, "~N");
+Clazz.defineMethod (c$, "getDayOfMonth", 
+function () {
+return this.dayOfMonth;
+});
+Clazz.defineMethod (c$, "setDayOfMonth", 
+function (date) {
+if (this.dayOfMonth != date) {
+this.dayOfMonth = date;
+this.normalized = false;
+}return this;
+}, "~N");
+Clazz.defineMethod (c$, "addDayOfMonth", 
+function (n) {
+if (n != 0) {
+this.dayOfMonth += n;
+this.normalized = false;
+}return this;
+}, "~N");
+Clazz.defineMethod (c$, "getDayOfWeek", 
+function () {
+if (!this.isNormalized ()) {
+this.dayOfWeek = -2147483648;
+}return this.dayOfWeek;
+});
+Clazz.defineMethod (c$, "getHours", 
+function () {
+return this.hours;
+});
+Clazz.defineMethod (c$, "setHours", 
+function (hours) {
+if (this.hours != hours) {
+this.hours = hours;
+this.normalized = false;
+}return this;
+}, "~N");
+Clazz.defineMethod (c$, "addHours", 
+function (n) {
+if (n != 0) {
+this.hours += n;
+this.normalized = false;
+}return this;
+}, "~N");
+Clazz.defineMethod (c$, "getMinutes", 
+function () {
+return this.minutes;
+});
+Clazz.defineMethod (c$, "setMinutes", 
+function (minutes) {
+if (this.minutes != minutes) {
+this.minutes = minutes;
+this.normalized = false;
+}return this;
+}, "~N");
+Clazz.defineMethod (c$, "addMinutes", 
+function (n) {
+if (n != 0) {
+this.minutes += n;
+this.normalized = false;
+}return this;
+}, "~N");
+Clazz.defineMethod (c$, "getSeconds", 
+function () {
+return this.seconds;
+});
+Clazz.defineMethod (c$, "setSeconds", 
+function (seconds) {
+if (this.seconds != seconds) {
+this.seconds = seconds;
+this.normalized = false;
+}return this;
+}, "~N");
+Clazz.defineMethod (c$, "addSeconds", 
+function (n) {
+if (n != 0) {
+this.seconds += n;
+this.normalized = false;
+}return this;
+}, "~N");
+Clazz.defineMethod (c$, "getMillis", 
+function () {
+return this.millis;
+});
+Clazz.defineMethod (c$, "setMillis", 
+function (millis) {
+if (this.millis != millis) {
+this.millis = millis;
+this.normalized = false;
+}return this;
+}, "~N");
+Clazz.defineMethod (c$, "addMillis", 
+function (n) {
+if (n != 0) {
+this.millis += n;
+this.normalized = false;
+}return this;
+}, "~N");
+Clazz.defineMethod (c$, "getTimeOfDay", 
+function () {
+if (!this.isNormalized ()) {
+return this.fraction = -9223372036854775808;
+}return this.fraction;
+});
+Clazz.defineMethod (c$, "setDate", 
+function (year, month, dayOfMonth) {
+this.setYear (year);
+this.setMonth (month);
+this.setDayOfMonth (dayOfMonth);
+return this;
+}, "~N,~N,~N");
+Clazz.defineMethod (c$, "addDate", 
+function (year, month, dayOfMonth) {
+this.addYear (year);
+this.addMonth (month);
+this.addDayOfMonth (dayOfMonth);
+return this;
+}, "~N,~N,~N");
+Clazz.defineMethod (c$, "setTimeOfDay", 
+function (hours, minutes, seconds, millis) {
+this.setHours (hours);
+this.setMinutes (minutes);
+this.setSeconds (seconds);
+this.setMillis (millis);
+return this;
+}, "~N,~N,~N,~N");
+Clazz.defineMethod (c$, "addTimeOfDay", 
+function (hours, minutes, seconds, millis) {
+this.addHours (hours);
+this.addMinutes (minutes);
+this.addSeconds (seconds);
+this.addMillis (millis);
+return this;
+}, "~N,~N,~N,~N");
+Clazz.defineMethod (c$, "setTimeOfDay", 
+function (fraction) {
+this.fraction = fraction;
+}, "~N");
+Clazz.defineMethod (c$, "isNormalized", 
+function () {
+return this.normalized;
+});
+Clazz.defineMethod (c$, "isStandardTime", 
+function () {
+return this.forceStandardTime;
+});
+Clazz.defineMethod (c$, "setStandardTime", 
+function (standardTime) {
+this.forceStandardTime = standardTime;
+}, "~B");
+Clazz.defineMethod (c$, "isDaylightTime", 
+function () {
+if (this.isStandardTime ()) {
+return false;
+}return this.daylightSaving != 0;
+});
+Clazz.defineMethod (c$, "setLocale", 
+function (loc) {
+this.locale = loc;
+}, "java.util.Locale");
+Clazz.defineMethod (c$, "getZone", 
+function () {
+return this.zoneinfo;
+});
+Clazz.defineMethod (c$, "setZone", 
+function (zoneinfo) {
+this.zoneinfo = zoneinfo;
+return this;
+}, "java.util.TimeZone");
+Clazz.defineMethod (c$, "isSameDate", 
+function (date) {
+return this.getDayOfWeek () == date.getDayOfWeek () && this.getMonth () == date.getMonth () && this.getYear () == date.getYear () && this.getEra () === date.getEra ();
+}, "jssun.util.calendar.CalendarDate");
+Clazz.defineMethod (c$, "equals", 
+function (obj) {
+if (!(Clazz.instanceOf (obj, jssun.util.calendar.CalendarDate))) {
+return false;
+}var that = obj;
+if (this.isNormalized () != that.isNormalized ()) {
+return false;
+}var hasZone = this.zoneinfo != null;
+var thatHasZone = that.zoneinfo != null;
+if (hasZone != thatHasZone) {
+return false;
+}if (hasZone && !this.zoneinfo.equals (that.zoneinfo)) {
+return false;
+}return (this.getEra () === that.getEra () && this.year == that.year && this.month == that.month && this.dayOfMonth == that.dayOfMonth && this.hours == that.hours && this.minutes == that.minutes && this.seconds == that.seconds && this.millis == that.millis && this.zoneOffset == that.zoneOffset);
+}, "~O");
+Clazz.defineMethod (c$, "hashCode", 
+function () {
+var hash = (((((this.year - 1970) * 12) + (this.month - 1)) * 30) + this.dayOfMonth) * 24;
+hash = ((((((hash + this.hours) * 60) + this.minutes) * 60) + this.seconds) * 1000) + this.millis;
+hash -= this.zoneOffset;
+var normalized = this.isNormalized () ? 1 : 0;
+var era = 0;
+var e = this.getEra ();
+if (e != null) {
+era = e.hashCode ();
+}var zone = this.zoneinfo != null ? this.zoneinfo.hashCode () : 0;
+return hash * (hash >> 32) ^ era ^ normalized ^ zone;
+});
+Clazz.defineMethod (c$, "clone", 
+function () {
+try {
+return Clazz.superCall (this, jssun.util.calendar.CalendarDate, "clone", []);
+} catch (e) {
+if (Clazz.exceptionOf (e, CloneNotSupportedException)) {
+throw  new InternalError ();
+} else {
+throw e;
+}
+}
+});
+Clazz.overrideMethod (c$, "toString", 
+function () {
+var sb =  new StringBuilder ();
+jssun.util.calendar.CalendarUtils.sprintf0d (sb, this.year, 4).append ('-');
+jssun.util.calendar.CalendarUtils.sprintf0d (sb, this.month, 2).append ('-');
+jssun.util.calendar.CalendarUtils.sprintf0d (sb, this.dayOfMonth, 2).append ('T');
+jssun.util.calendar.CalendarUtils.sprintf0d (sb, this.hours, 2).append (':');
+jssun.util.calendar.CalendarUtils.sprintf0d (sb, this.minutes, 2).append (':');
+jssun.util.calendar.CalendarUtils.sprintf0d (sb, this.seconds, 2).append ('.');
+jssun.util.calendar.CalendarUtils.sprintf0d (sb, this.millis, 3);
+if (this.zoneOffset == 0) {
+sb.append ('Z');
+} else if (this.zoneOffset != -2147483648) {
+var offset;
+var sign;
+if (this.zoneOffset > 0) {
+offset = this.zoneOffset;
+sign = '+';
+} else {
+offset = -this.zoneOffset;
+sign = '-';
+}offset = Clazz.doubleToInt (offset / 60000);
+sb.append (sign);
+jssun.util.calendar.CalendarUtils.sprintf0d (sb, Clazz.doubleToInt (offset / 60), 2);
+jssun.util.calendar.CalendarUtils.sprintf0d (sb, offset % 60, 2);
+} else {
+sb.append (" local time");
+}return sb.toString ();
+});
+Clazz.defineMethod (c$, "setDayOfWeek", 
+function (dayOfWeek) {
+this.dayOfWeek = dayOfWeek;
+}, "~N");
+Clazz.defineMethod (c$, "setNormalized", 
+function (normalized) {
+this.normalized = normalized;
+}, "~B");
+Clazz.defineMethod (c$, "getZoneOffset", 
+function () {
+return this.zoneOffset;
+});
+Clazz.defineMethod (c$, "setZoneOffset", 
+function (offset) {
+this.zoneOffset = offset;
+}, "~N");
+Clazz.defineMethod (c$, "getDaylightSaving", 
+function () {
+return this.daylightSaving;
+});
+Clazz.defineMethod (c$, "setDaylightSaving", 
+function (daylightSaving) {
+this.daylightSaving = daylightSaving;
+}, "~N");
+Clazz.defineStatics (c$,
+"FIELD_UNDEFINED", -2147483648,
+"TIME_UNDEFINED", -9223372036854775808);
+});