Utility method to retrieve a Date value from a map and provide a default value if the key was not found set.
Syntax
Date
getDateOption
(
Map< String,?>
props
,
String
key
,
Date
date
)
Parameters
-
props –
the Map in which the property values reside
-
key –
property name
-
date –
default value if the property is not found.
Returns
the value from the Map or the default.