Project

General

Profile

Actions

Feature #1127

open

OFTime should distinguish between presence and absence of timezone information

Added by Jörg Riesmeier about 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Category:
Library
Target version:
-
Start date:
2024-06-18
Due date:
% Done:

0%

Estimated time:
Module:
ofstd, dcmsr
Operating System:
Compiler:

Description

Currently, OFTime does not know whether timezone information is available or not, since internally the value "0" is used for both UTC and unknown/absent timezone information. This should be changed, e.g. by using "NaN" if not timezone information is available.

This feature is e.g. needed for method DSRDateTimeTreeNode::getValueFromXMLNodeContent).

This feature also has an impact on OFDateTime, DcmTime and DcmDateTime.


Related issues 2 (2 open0 closed)

Related to DCMTK - Patch #895: OFDateTime/OFTime: Support for optional fractional part of a second in setISOFormattedXXX()New2019-08-07

Actions
Blocks DCMTK - Feature #1128: dcmsr should support the fractional part of a second in its own XML formatNewJörg Riesmeier2024-06-19

Actions
Actions

Also available in: Atom PDF