public class DateDataBlock extends DataBlock
EMPTY_VIFE| Constructor and Description |
|---|
DateDataBlock() |
DateDataBlock(Vif vif,
Vife... vifes)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
accumulateDatatoJSON(net.sf.json.JSONObject json) |
void |
fromJSON(net.sf.json.JSONObject json) |
Date |
getValue() |
String |
getValueAsString() |
void |
setValue(Date value) |
void |
setValue(String text) |
addVife, clearVifes, formatBcdError, getAction, getCorrectionConstant, getCorrectionExponent, getDataBlockClass, getDataFieldCode, getExponent, getFunctionField, getParamDescr, getSiPrefix, getStorageNumber, getSubUnit, getTariff, getUnitOfMeasurement, getVif, getVif, getVife, getVifes, setAction, setDataFieldCode, setFunctionField, setStorageNumber, setSubUnit, setTariff, setVif, toJSON, toString, toString, vifesFromJSON, vifFromJSONpublic DateDataBlock()
@Deprecated public DateDataBlock(Vif vif, Vife... vifes)
public Date getValue()
public String getValueAsString()
getValueAsString in class DataBlockpublic void setValue(Date value)
value - the value to setprotected void accumulateDatatoJSON(net.sf.json.JSONObject json)
accumulateDatatoJSON in class DataBlockpublic void fromJSON(net.sf.json.JSONObject json)
fromJSON in interface JSONSerializablefromJSON in class DataBlockCopyright © 2009–2016 MBus4J. All rights reserved.