DVTk API
Time Class
DVTkDvtkData.DimseTime
DVTk API

[This is preliminary documentation and is subject to change.]

Time
Declaration Syntax
C#Visual BasicVisual C++
public class Time : DicomValueType
Public Class Time _
	Inherits DicomValueType
public ref class Time : public DicomValueType
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
Time()()()
Initializes a new instance of the Time class

_dicomUnicodeConverter (Inherited from DicomValueType.)
AddValue(DateTime, Time..::.Format)
Add value to attribute.

DicomUnicodeConverter
DICOM to Unicode Converter
(Inherited from DicomValueType.)
DvtDetailToXml(StreamWriter, Int32)
Serialize DVT Detail Data to Xml.
(Overrides DicomValueType.DvtDetailToXml(StreamWriter, Int32).)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Values
Underlying String collection.

Remarks
A string of characters of the format hhmmss.frac; where hh contains hours (range "00" - "23"), mm contains minutes (range "00" - "59"), ss contains seconds (range "00" - "59"), and frac contains a fractional part of a second as small as 1 millionth of a second (range “000000” - “999999”). A 24 hour clock is assumed. Midnight can be represented by only “0000“ since “2400“ would violate the hour range. The string may be padded with trailing spaces. Leading and embedded spaces are not allowed. One or more of the components mm, ss, or frac may be unspecified as long as every component to the right of an unspecified component is also unspecified. If frac is unspecified the preceding “.” may not be included. Frac shall be held to six decimal places or less to ensure its format conforms to the ANSI HISPP MSDS Time common data type. Examples: 1. “070907.0705 ” represents a time of 7 hours, 9 minutes and 7.0705 seconds. 2. “1010” represents a time of 10 hours, and 10 minutes. 3. “021 ” is an invalid value. Notes: 1. For reasons of backward compatibility with versions of this standard prior to V3.0, it is recommended that implementations also support a string of characters of the format hh:mm:ss.frac for this VR. 2. See also DT VR in this table.
Inheritance Hierarchy
Object
DicomValueType
 Time

Assembly: DvtkData (Module: DvtkData) Version: 0.0.0.0