Class FWSimVariable.DateFormatter
java.lang.Object
net.simplace.sim.util.FWSimVariable.DateFormatter
- Enclosing class:
FWSimVariable<T>
Formats and parses dates either with a pattern or as number of days since 1970 (
EPOCH_DAY).- Author:
- Andreas Enders
-
Method Summary
-
Method Details
-
parse
- Parameters:
aDateString- date as text (or number of days for EPOCH_DAY)- Returns:
- the date at start of day
-
format
- Parameters:
aDate- date to format- Returns:
- the formatted date as String, or as Integer (days since 1970) for EPOCH_DAY
-