Removed extra spaces and updated Copyright

This commit is contained in:
Steve Hannah 2015-04-11 11:01:54 -07:00
parent 604d757dfd
commit d38c421cbc
4 changed files with 3 additions and 18 deletions

View File

@ -397,8 +397,6 @@ public abstract class TCalendar implements TSerializable, TCloneable, TComparabl
}
}
public final void set(int year, int month, int day) {
set(YEAR, year);
set(MONTH, month);

View File

@ -31,7 +31,6 @@ package org.teavm.classlib.java.util;
*/
public class TSimpleTimeZone extends TTimeZone {
private int rawOffset;
private int startYear, startMonth, startDay, startDayOfWeek, startTime;
@ -66,7 +65,6 @@ public class TSimpleTimeZone extends TTimeZone {
private int dstSavings = 3600000;
private static final int MILLIS_PER_SECOND = 1000;
private static final int MILLIS_PER_MINUTE = 60*MILLIS_PER_SECOND;
private static final int MILLIS_PER_HOUR = 60*MILLIS_PER_MINUTE;
@ -96,13 +94,6 @@ public class TSimpleTimeZone extends TTimeZone {
return MONTH_LENGTH[month + (isLeapYear(year) ? 12 : 0)];
}
// BEGIN android-removed
// private final transient com.ibm.icu.util.TimeZone icuTZ;
//
// private final transient boolean isSimple;
// END android-removed
/**
* Constructs a {@code SimpleTimeZone} with the given base time zone offset from GMT
* and time zone ID. Timezone IDs can be obtained from
@ -118,7 +109,6 @@ public class TSimpleTimeZone extends TTimeZone {
public TSimpleTimeZone(int offset, final String name) {
setID(name);
rawOffset = offset;
}
/**

View File

@ -370,7 +370,6 @@ public abstract class TTimeZone {
} else {
return "";
}
}
/**
@ -451,5 +450,3 @@ public abstract class TTimeZone {
*/
public abstract boolean useDaylightTime();
}

View File

@ -1,5 +1,5 @@
/*
* Copyright 2015 shannah.
* Copyright 2015 Steve Hannah.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.