public class DDate
extends java.lang.Object
implements java.io.Serializable
DDateRange
,
Serialized FormConstructor and Description |
---|
DDate()
Empty constructor, provided for constructing an empty DA data element.
|
DDate(java.lang.String str)
This constructor takes a string and converts it to a DDate object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isEmpty()
Indicates whether this DDate is empty.
|
java.lang.String |
toDICOMString()
Returns a String representing the date, formatted
in the Dicom DA format ("yyyymmdd").
|
java.lang.String |
toString()
Returns a String representing the date.
|
java.lang.String |
toString(java.text.DateFormat format)
Returns a String representing the date, formatted with the given DateFormat.
|
protected transient JdtLogger log
public DDate()
public DDate(java.lang.String str) throws java.lang.NumberFormatException
java.lang.NumberFormatException
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(java.text.DateFormat format)
public java.lang.String toDICOMString()
public boolean isEmpty()