public class PropertyDate extends Property<Date>
| Modifier and Type | Field and Description |
|---|---|
static SimpleDateFormat |
SDF
expected expression.
|
description, fixedValues, name, readOnly, type, value| Constructor and Description |
|---|
PropertyDate()
Default constructor.
|
PropertyDate(String name)
Constructor by property name.
|
PropertyDate(String uid,
Date date)
Constructor by string expression.
|
PropertyDate(String uid,
String value)
Constructor by string expression.
|
| Modifier and Type | Method and Description |
|---|---|
String |
asString()
Serialized value as String
|
Date |
fromString(String v)
Unmarshalling of value for serailized string expression.
|
add2FixedValue, add2FixedValueFromString, asBoolean, asDouble, asInt, getDescription, getFixedValues, getName, getType, getValue, isReadOnly, parameterizedType, setDescription, setFixedValues, setName, setReadOnly, setType, setValue, setValueFromString, toJson, toStringpublic static final SimpleDateFormat SDF
public PropertyDate()
public PropertyDate(String name)
name - property namepublic PropertyDate(String uid, String value)
uid - unique namelvl - current log levelpublic Date fromString(String v)
fromString in class Property<Date>v - value represented as a serialized StringCopyright © 2013–2017 FF4J. All rights reserved.