Class DicomDateElement
Inheritance
System.Object
DicomDateElement
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FellowOakDicom
Assembly: fo-dicom.core.dll
Syntax
public abstract class DicomDateElement : DicomMultiStringElement, IComparable<DicomItem>, IComparable
Constructors
DicomDateElement(DicomTag, String[], DicomDateRange)
Initializes a DicomDateElement instance.
Declaration
protected DicomDateElement(DicomTag tag, string[] dateFormats, DicomDateRange range)
Parameters
Type | Name | Description |
---|---|---|
DicomTag | tag | DICOM tag. |
System.String[] | dateFormats | Supported date/time formats. |
DicomDateRange | range | Date/time range. |
DicomDateElement(DicomTag, String[], IByteBuffer)
Initializes a DicomDateElement instance.
Declaration
protected DicomDateElement(DicomTag tag, string[] dateFormats, IByteBuffer buffer)
Parameters
Type | Name | Description |
---|---|---|
DicomTag | tag | DICOM tag. |
System.String[] | dateFormats | Supported date/time formats. |
IByteBuffer | buffer | Byte buffer from which to read values. |
DicomDateElement(DicomTag, String[], DateTime[])
Initializes a DicomDateElement instance.
Declaration
protected DicomDateElement(DicomTag tag, string[] dateFormats, params DateTime[] values)
Parameters
Type | Name | Description |
---|---|---|
DicomTag | tag | DICOM tag. |
System.String[] | dateFormats | Supported date/time formats. |
System.DateTime[] | values | Values. |
DicomDateElement(DicomTag, String[], String[])
Initializes a DicomDateElement instance.
Declaration
protected DicomDateElement(DicomTag tag, string[] dateFormats, params string[] values)
Parameters
Type | Name | Description |
---|---|---|
DicomTag | tag | DICOM tag. |
System.String[] | dateFormats | Supported date/time formats. |
System.String[] | values | Values. |
Properties
DateFormats
Supported date formats.
Declaration
protected string[] DateFormats { get; }
Property Value
Type | Description |
---|---|
System.String[] |
Methods
Get<T>(Int32)
Get element value(s).
Declaration
public override T Get<T>(int item = -1)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | item | Item index, if applicable. |
Returns
Type | Description |
---|---|
T | Value(s) of type |
Type Parameters
Name | Description |
---|---|
T | Return value type. |
Overrides
Implements
System.IComparable<T>
System.IComparable