Interface: DicomTime
A tolerantly-decoded TM (Time) value (PS3.5 §6.2; max length 14 bytes).
fractionalSeconds is the value after the decimal point as a number in
[0,1) when present.
Example
import type { DicomTime } from "@cosyte/dicom";
const t: DicomTime = { raw: "133015.250000", valid: true, hours: 13, minutes: 30, seconds: 15, fractionalSeconds: 0.25 };
Properties
fractionalSeconds?
readonlyoptionalfractionalSeconds?:number
hours?
readonlyoptionalhours?:number
minutes?
readonlyoptionalminutes?:number
raw
readonlyraw:string
seconds?
readonlyoptionalseconds?:number
valid
readonlyvalid:boolean