This commit is contained in:
2022-05-10 00:08:45 -05:00
parent 770fe65f98
commit bb8c34e0cd
74 changed files with 2025 additions and 1556 deletions

View File

@ -2,21 +2,25 @@ package dev.plex.toml;
import java.util.TimeZone;
public class DatePolicy {
public class DatePolicy
{
private final TimeZone timeZone;
private final boolean showFractionalSeconds;
DatePolicy(TimeZone timeZone, boolean showFractionalSeconds) {
this.timeZone = timeZone;
this.showFractionalSeconds = showFractionalSeconds;
}
private final TimeZone timeZone;
private final boolean showFractionalSeconds;
TimeZone getTimeZone() {
return timeZone;
}
DatePolicy(TimeZone timeZone, boolean showFractionalSeconds)
{
this.timeZone = timeZone;
this.showFractionalSeconds = showFractionalSeconds;
}
boolean isShowFractionalSeconds() {
return showFractionalSeconds;
}
TimeZone getTimeZone()
{
return timeZone;
}
boolean isShowFractionalSeconds()
{
return showFractionalSeconds;
}
}