getTimeAndDate(String) method
Returns the specified property as a date contained in a GregorianCalendar object.
Syntax
public
GregorianCalendar
getTimeAndDate
(
String
property
) throws AgentryException
Parameters
-
property –
The property name
Returns
The property value as a date. If the property was empty, then this will return the current date.
Exceptions
-
AgentryException class –
if the value cannot be parsed as a date.