Code example for SimpleTimeZone

Methods: getRawOffsetsetRawOffset

	public void test_setRawOffsetI() { 
		// Test for method void java.util.SimpleTimeZone.setRawOffset(int) 
		st1 = (SimpleTimeZone) TimeZone.getTimeZone("EST");
		int off = st1.getRawOffset();
		boolean val = st1.getRawOffset() == 1000;
		assertTrue("Incorrect offset set", val);
	 * @tests java.util.SimpleTimeZone#setStartRule(int, int, int) 
	public void test_setStartRuleIII() { 
		// Test for method void java.util.SimpleTimeZone.setStartRule(int, int, 
		// int) 
		SimpleTimeZone st = new SimpleTimeZone(1000, "Test_TZ");
		// Spec indicates that both end and start must be set or result is 
Stop searching for code, let great code find you!  Add Codota to your java IDE