Package Acquisition.filedate
Class StandardFileDateSettings
java.lang.Object
Acquisition.filedate.StandardFileDateSettings
- All Implemented Interfaces:
Serializable
,Cloneable
,ManagedParameters
public class StandardFileDateSettings
extends Object
implements Serializable, Cloneable, ManagedParameters
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
long
Get a set of data that describes all of the parameters in a classlong
getTimeOffset
(long date) Get the current time offset for the given date.boolean
boolean
boolean
void
setAdditionalOffsetMillis
(long additionalOffsetMillis) void
setAdjustDaylightSaving
(boolean adjustDaylightSaving) void
setDateTimeFormatToUse
(String customDateTimeFormat) void
setForcedDateFormat
(String forcedDateFormat) void
setForcePCTime
(boolean forcePCTime) void
setTimeZoneName
(String timeZoneName) void
setUseBespokeFormat
(boolean useBespokeFormat)
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
-
Constructor Details
-
StandardFileDateSettings
public StandardFileDateSettings()
-
-
Method Details
-
clone
-
getTimeOffset
public long getTimeOffset(long date) Get the current time offset for the given date.- Parameters:
date
- raw data extracted from time string- Returns:
- adjustment to make for time zone.
-
getTimeZoneName
-
setTimeZoneName
-
isAdjustDaylightSaving
public boolean isAdjustDaylightSaving() -
setAdjustDaylightSaving
public void setAdjustDaylightSaving(boolean adjustDaylightSaving) -
getAdditionalOffsetMillis
public long getAdditionalOffsetMillis()- Returns:
- the additionalOffsetMillis
-
setAdditionalOffsetMillis
public void setAdditionalOffsetMillis(long additionalOffsetMillis) - Parameters:
additionalOffsetMillis
- the additionalOffsetMillis to set
-
getDateTimeFormatToUse
-
setDateTimeFormatToUse
-
isForcePCTime
public boolean isForcePCTime() -
setForcePCTime
public void setForcePCTime(boolean forcePCTime) -
getForcedDateFormat
- Returns:
- the forcedDateFormat
-
setForcedDateFormat
- Parameters:
forcedDateFormat
- the forcedDateFormat to set
-
isUseBespokeFormat
public boolean isUseBespokeFormat()- Returns:
- the useBespokeFormat
-
setUseBespokeFormat
public void setUseBespokeFormat(boolean useBespokeFormat) - Parameters:
useBespokeFormat
- the useBespokeFormat to set
-
getParameterSet
Description copied from interface:ManagedParameters
Get a set of data that describes all of the parameters in a class- Specified by:
getParameterSet
in interfaceManagedParameters
- Returns:
- description of the parameters in a class.
-