|
Trispark JDT 2.50.13 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.archimed.dicom.DDate
public class DDate
This class represents a basic date object. It was developed in correspondance to the Dicom DA type, so it only contains year, month and day information. If you should need a date-range, use DDateRange (based on DDate).
DDateRange| Field Summary | |
|---|---|
protected JdtLogger |
log
|
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected JdtLogger log
| Constructor Detail |
|---|
public DDate()
public DDate(java.lang.String str)
throws java.lang.NumberFormatException
java.lang.NumberFormatException| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(java.text.DateFormat format)
public java.lang.String toDICOMString()
public boolean isEmpty()
|
Trispark JDT 2.50.13 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||