public Minute(Date time, TimeZone zone, Locale locale) { Minute minute = this; if (time == null) { string str = "Null 'time' argument."; Throwable.__\u003CsuppressFillInStackTrace\u003E(); throw new IllegalArgumentException(str); } else if (zone == null) { string str = "Null 'zone' argument."; Throwable.__\u003CsuppressFillInStackTrace\u003E(); throw new IllegalArgumentException(str); } else if (locale == null) { string str = "Null 'locale' argument."; Throwable.__\u003CsuppressFillInStackTrace\u003E(); throw new IllegalArgumentException(str); } else { Calendar instance = Calendar.getInstance(zone, locale); instance.setTime(time); this.minute = (byte) instance.get(12); this.hour = (byte) instance.get(11); this.day = new Day(time, zone, locale); this.peg(instance); } }
public Millisecond(int millisecond, Second second) { Millisecond millisecond1 = this; this.millisecond = millisecond; this.second = (byte) second.getSecond(); this.minute = (byte) second.getMinute().getMinute(); this.hour = (byte) second.getMinute().getHourValue(); this.day = second.getMinute().getDay(); this.peg(Calendar.getInstance()); }
public Second(Date time, TimeZone zone, Locale locale) { Second second = this; Calendar instance = Calendar.getInstance(zone, locale); instance.setTime(time); this.second = (byte) instance.get(13); this.minute = (byte) instance.get(12); this.hour = (byte) instance.get(11); this.day = new Day(time, zone, locale); this.peg(instance); }
public Hour(int hour, Day day) { Hour hour1 = this; if (day == null) { string str = "Null 'day' argument."; Throwable.__\u003CsuppressFillInStackTrace\u003E(); throw new IllegalArgumentException(str); } else { this.hour = (byte) hour; this.day = day; this.peg(Calendar.getInstance()); } }
public Second(int second, Minute minute) { Second second1 = this; if (minute == null) { string str = "Null 'minute' argument."; Throwable.__\u003CsuppressFillInStackTrace\u003E(); throw new IllegalArgumentException(str); } else { this.day = minute.getDay(); this.hour = (byte) minute.getHourValue(); this.minute = (byte) minute.getMinute(); this.second = (byte) second; this.peg(Calendar.getInstance()); } }
public Minute(int minute, Hour hour) { Minute minute1 = this; if (hour == null) { string str = "Null 'hour' argument."; Throwable.__\u003CsuppressFillInStackTrace\u003E(); throw new IllegalArgumentException(str); } else { this.minute = (byte) minute; this.hour = (byte) hour.getHour(); this.day = hour.getDay(); this.peg(Calendar.getInstance()); } }