|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dicom4j.data.elements.support.DataElement
org.dicom4j.data.elements.support.StringElement
org.dicom4j.data.elements.DateElement
public class DateElement
Date (DA) element
| Constructor Summary | |
|---|---|
DateElement(DicomTag aDicomTag)
Creates an empty element |
|
DateElement(DicomTag aDicomTag,
long aLength,
DicomInputStream aStream)
Read an attribute from an input stream. |
|
| Method Summary | |
|---|---|
String |
format()
retrun a format Date depending on the current Locale |
ValueRepresentation |
getValueRepresentation()
Return the value representation of this data element |
| Methods inherited from class org.dicom4j.data.elements.support.StringElement |
|---|
addValue, clear, getPaddedVL, getStringValues, getValueLength, getValueMultiplicity, read, setValue, toString, write |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DateElement(DicomTag aDicomTag)
Creates an empty element
aDicomTag - the tag of the element
public DateElement(DicomTag aDicomTag,
long aLength,
DicomInputStream aStream)
throws IOException,
DicomException
Read an attribute from an input stream.
aDicomTag - the tag of the elementaLength - the value length of the attributeaStream - the input stream
IOException
DicomException| Method Detail |
|---|
public String format()
Locale
public ValueRepresentation getValueRepresentation()
getValueRepresentation in class DataElement
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||