public abstract class DateTimeHelper extends Object
Constructor and Description |
---|
DateTimeHelper() |
Modifier and Type | Method and Description |
---|---|
static boolean |
tryGetDateTime(Object value,
ValueExtractor<Calendar> date)
Tries to assign the passed value object as value of the date instance.
|
public static boolean tryGetDateTime(Object value, ValueExtractor<Calendar> date)
value
- the value.date
- the date that the value will be assigned to.true
if the value was successfully assigned and false
otherwise.ValueExtractor