mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-23 00:24:11 -08:00
Removed extra spaces and updated Copyright
This commit is contained in:
parent
604d757dfd
commit
d38c421cbc
|
@ -397,8 +397,6 @@ public abstract class TCalendar implements TSerializable, TCloneable, TComparabl
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public final void set(int year, int month, int day) {
|
public final void set(int year, int month, int day) {
|
||||||
set(YEAR, year);
|
set(YEAR, year);
|
||||||
set(MONTH, month);
|
set(MONTH, month);
|
||||||
|
|
|
@ -30,8 +30,7 @@ package org.teavm.classlib.java.util;
|
||||||
* @see TimeZone
|
* @see TimeZone
|
||||||
*/
|
*/
|
||||||
public class TSimpleTimeZone extends TTimeZone {
|
public class TSimpleTimeZone extends TTimeZone {
|
||||||
|
|
||||||
|
|
||||||
private int rawOffset;
|
private int rawOffset;
|
||||||
|
|
||||||
private int startYear, startMonth, startDay, startDayOfWeek, startTime;
|
private int startYear, startMonth, startDay, startDayOfWeek, startTime;
|
||||||
|
@ -66,7 +65,6 @@ public class TSimpleTimeZone extends TTimeZone {
|
||||||
|
|
||||||
private int dstSavings = 3600000;
|
private int dstSavings = 3600000;
|
||||||
|
|
||||||
|
|
||||||
private static final int MILLIS_PER_SECOND = 1000;
|
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_MINUTE = 60*MILLIS_PER_SECOND;
|
||||||
private static final int MILLIS_PER_HOUR = 60*MILLIS_PER_MINUTE;
|
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)];
|
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
|
* Constructs a {@code SimpleTimeZone} with the given base time zone offset from GMT
|
||||||
* and time zone ID. Timezone IDs can be obtained from
|
* 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) {
|
public TSimpleTimeZone(int offset, final String name) {
|
||||||
setID(name);
|
setID(name);
|
||||||
rawOffset = offset;
|
rawOffset = offset;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -370,7 +370,6 @@ public abstract class TTimeZone {
|
||||||
} else {
|
} else {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -450,6 +449,4 @@ public abstract class TTimeZone {
|
||||||
* Queries if this time zone uses Daylight Savings Time.
|
* Queries if this time zone uses Daylight Savings Time.
|
||||||
*/
|
*/
|
||||||
public abstract boolean useDaylightTime();
|
public abstract boolean useDaylightTime();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2015 shannah.
|
* Copyright 2015 Steve Hannah.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user