Class DateTimeConfig
java.lang.Object
com.linkedin.feathr.common.configObj.DateTimeConfig
- All Implemented Interfaces:
Serializable
Represent a time period or a time point.
the startTime is - offset - length + 1,
the endTime is referenceEndDateTime in timeZone - offset
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDateTimeConfig(String referenceEndTime, String referenceEndTimeFormat, ChronoUnit timeResolution, long length, Duration offset, TimeZone timeZone) Constructor -
Method Summary
-
Constructor Details
-
DateTimeConfig
public DateTimeConfig(String referenceEndTime, String referenceEndTimeFormat, ChronoUnit timeResolution, long length, Duration offset, TimeZone timeZone) Constructor- Parameters:
referenceEndTime- end time of this time period, it is called reference because it might need to shift by _offsetInSeconds to be the actual endTime, e.g., a date, or NOW, or LATESTreferenceEndTimeFormat- format, e.g., yyyy-MM-ddtimeResolution- daily or hourlylength- length of the time period, in terms of _timeResolutionoffset- offsettimeZone- time zone
-
-
Method Details