mirror of
https://github.com/plexusorg/Plex.git
synced 2025-07-14 10:28:35 +00:00
actually indent array types in toml
add a default config file instead of generation for commenting purposes add a random gradient placeholder and a converter for legacy colorcodes
This commit is contained in:
22
proxy/src/main/java/dev/plex/toml/DatePolicy.java
Normal file
22
proxy/src/main/java/dev/plex/toml/DatePolicy.java
Normal file
@ -0,0 +1,22 @@
|
||||
package dev.plex.toml;
|
||||
|
||||
import java.util.TimeZone;
|
||||
|
||||
public class DatePolicy {
|
||||
|
||||
private final TimeZone timeZone;
|
||||
private final boolean showFractionalSeconds;
|
||||
|
||||
DatePolicy(TimeZone timeZone, boolean showFractionalSeconds) {
|
||||
this.timeZone = timeZone;
|
||||
this.showFractionalSeconds = showFractionalSeconds;
|
||||
}
|
||||
|
||||
TimeZone getTimeZone() {
|
||||
return timeZone;
|
||||
}
|
||||
|
||||
boolean isShowFractionalSeconds() {
|
||||
return showFractionalSeconds;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user