Dieser Commit ist enthalten in:
Ursprung
4a6465953f
Commit
5aca43b35e
@ -33,9 +33,9 @@ public class Season {
|
|||||||
public static String getSeasonStart() {
|
public static String getSeasonStart() {
|
||||||
Calendar calendar = Calendar.getInstance();
|
Calendar calendar = Calendar.getInstance();
|
||||||
int month = calendar.get(Calendar.MONTH);
|
int month = calendar.get(Calendar.MONTH);
|
||||||
if (month <= 4) {
|
if (month <= 3) {
|
||||||
return calendar.get(Calendar.YEAR) + "-1-1";
|
return calendar.get(Calendar.YEAR) + "-1-1";
|
||||||
} else if (month <= 8) {
|
} else if (month <= 7) {
|
||||||
return calendar.get(Calendar.YEAR) + "-5-1";
|
return calendar.get(Calendar.YEAR) + "-5-1";
|
||||||
} else {
|
} else {
|
||||||
return calendar.get(Calendar.YEAR) + "-9-1";
|
return calendar.get(Calendar.YEAR) + "-9-1";
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren