Project

General

Profile

Actions

Feature #1127

closed

OFTime should distinguish between presence and absence of timezone information

Added by Jörg Riesmeier over 1 year ago. Updated 17 days ago.

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

100%

Estimated time:
4:00 h
Module:
ofstd, dcmdata
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 no 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 (1 open1 closed)

Related to DCMTK - Patch #895: OFDateTime/OFTime: Support for optional fractional part of a second in setISOFormattedXXX()ClosedHarald Roesen2019-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