Dieser Commit ist enthalten in:
Ursprung
55e4419d1b
Commit
d8b86b1263
@ -78,12 +78,6 @@ public class SQLProvider implements Provider {
|
|||||||
return new CheckedSchematic(rs.getInt("NodeId"), rs.getInt("Validator"), rs.getTimestamp("StartTime"), rs.getTimestamp("EndTime"), rs.getString("DeclineReason"));
|
return new CheckedSchematic(rs.getInt("NodeId"), rs.getInt("Validator"), rs.getTimestamp("StartTime"), rs.getTimestamp("EndTime"), rs.getString("DeclineReason"));
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getCurrentSeason() {
|
|
||||||
Calendar calendar = Calendar.getInstance();
|
|
||||||
int yearIndex = calendar.get(Calendar.MONTH) / 3;
|
|
||||||
return (calendar.get(Calendar.YEAR) * 3 + yearIndex);
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final Statement getEvent = new Statement("SELECT * FROM Event WHERE EventID = ?");
|
private static final Statement getEvent = new Statement("SELECT * FROM Event WHERE EventID = ?");
|
||||||
@Override
|
@Override
|
||||||
public Event getEvent(int eventID) {
|
public Event getEvent(int eventID) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren