mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-16 09:11:02 +00:00
added (failing) test case for smartfuturechache in leaderboard json export
This commit is contained in:
1 parent
d61d7f8644
commit
7db566ebae
3 files changed
+78
-18
No files matched your search
+2
-2
@@ -10,7 +10,7 @@ import com.sap.sailing.util.SerializableComparator;
|
||||
public abstract class AbstractTimePoint implements TimePoint {
|
||||
private static final long serialVersionUID = 8825508619301420378L;
|
||||
|
||||
private static SimpleDateFormat dateFormatter = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ");
|
||||
public static SimpleDateFormat TIMEPOINT_FORMATTER = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ");
|
||||
|
||||
public static Comparator<TimePoint> TIMEPOINT_COMPARATOR = new SerializableComparator<TimePoint>() {
|
||||
private static final long serialVersionUID = 7644726881387366025L;
|
||||
@@ -69,7 +69,7 @@ public abstract class AbstractTimePoint implements TimePoint {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return dateFormatter.format(asDate());
|
||||
return TIMEPOINT_FORMATTER.format(asDate());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user