use of java.util.TimeZone in project j2objc by google.
the class SimpleTimeZoneTest method testDstNewYork2014_9thMarch_2ndNovember_StandardTime.
public void testDstNewYork2014_9thMarch_2ndNovember_StandardTime() {
TimeZone timeZone = new SimpleTimeZone(NEW_YORK_RAW_OFFSET, "EST", Calendar.MARCH, 9, 0, 7200000, SimpleTimeZone.STANDARD_TIME, Calendar.NOVEMBER, 2, 0, 3600000, SimpleTimeZone.STANDARD_TIME, 3600000);
checkDstNewYork2014(timeZone);
}
use of java.util.TimeZone in project j2objc by google.
the class SimpleTimeZoneTest method testDstNewYork2014_9thMarch_2ndNovember_WallTime.
public void testDstNewYork2014_9thMarch_2ndNovember_WallTime() {
TimeZone timeZone = new SimpleTimeZone(NEW_YORK_RAW_OFFSET, "EST", Calendar.MARCH, 9, 0, 7200000, SimpleTimeZone.WALL_TIME, Calendar.NOVEMBER, 2, 0, 7200000, SimpleTimeZone.WALL_TIME, 3600000);
checkDstNewYork2014(timeZone);
}
use of java.util.TimeZone in project j2objc by google.
the class SimpleTimeZoneTest method testDstNewYork2014_2ndSundayMarch_1stSundayNovember_DefaultTime.
public void testDstNewYork2014_2ndSundayMarch_1stSundayNovember_DefaultTime() {
TimeZone timeZone = new SimpleTimeZone(NEW_YORK_RAW_OFFSET, "EST", Calendar.MARCH, 2, Calendar.SUNDAY, 7200000, Calendar.NOVEMBER, 1, Calendar.SUNDAY, 7200000, 3600000);
checkDstNewYork2014(timeZone);
}
use of java.util.TimeZone in project j2objc by google.
the class SimpleTimeZoneTest method testDstParis2014_LastSundayMarch_LastSundayOctober_UtcTime.
public void testDstParis2014_LastSundayMarch_LastSundayOctober_UtcTime() {
TimeZone timeZone = new SimpleTimeZone(PARIS_RAW_OFFSET, "Europe/Paris", Calendar.MARCH, -1, Calendar.SUNDAY, 3600000, SimpleTimeZone.UTC_TIME, Calendar.OCTOBER, -1, Calendar.SUNDAY, 3600000, SimpleTimeZone.UTC_TIME, 3600000);
checkDstParis2014(timeZone);
}
use of java.util.TimeZone in project j2objc by google.
the class SimpleTimeZoneTest method testDstNewYork2014_2ndSundayMarch_1stSundayNovember_WallTime.
public void testDstNewYork2014_2ndSundayMarch_1stSundayNovember_WallTime() {
TimeZone timeZone = new SimpleTimeZone(NEW_YORK_RAW_OFFSET, "EST", Calendar.MARCH, 2, Calendar.SUNDAY, 7200000, SimpleTimeZone.WALL_TIME, Calendar.NOVEMBER, 1, Calendar.SUNDAY, 7200000, SimpleTimeZone.WALL_TIME, 3600000);
checkDstNewYork2014(timeZone);
}
Aggregations