Change default birthday and tempban to fix conversion issue

ResultSet#getLong on a timestamp field is not allowed
This commit is contained in:
P0nk
2021-04-02 16:11:41 +02:00
parent 7169a74e94
commit 754ab67de7
5 changed files with 46 additions and 23 deletions

View File

@@ -0,0 +1,19 @@
package client;
import java.time.LocalDate;
import java.time.LocalDateTime;
final public class DefaultDates {
// May 11 2005 is the date MapleGlobal released, so it's a symbolic default value
private DefaultDates() {
}
public static LocalDate getBirthday() {
return LocalDate.parse("2005-05-11");
}
public static LocalDateTime getTempban() {
return LocalDateTime.parse("2005-05-11T00:00:00");
}
}