Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS DICOM C++ Class Library Help

VALUEDATETIMERANGE

Show in webframe

typedef struct _VALUEDATETIMERANGE
{
   L_UINT32 nFlags;         // Flags
   VALUEDATETIME DateTime1; // DateTime1
   VALUEDATETIME DateTime2; // DateTime2
} VALUEDATETIMERANGE,  * pVALUEDATETIMERANGE;

The VALUEDATETIMERANGE structure contains information about date time range values stored in the Value Field of a Data Element.

Member

Description

nFlags

Flags that indicate the type of date time range.  Possible values are:

 

Value

Meaning

 

VALUE_RANGE_NONE

Only DateTime1 is valid, representing a single date, not a range.

 

VALUE_RANGE_LOWER

Only DateTime1 is valid, represents a lower range.

Example: DateTime1 is 01/01/2001, then a lower range is set as "20010101000000.000000+0000-"

 

VALUE_RANGE_UPPER

Only DateTime1 is valid, represents an upper range.

Example: DateTime1 is 12/25/2005, then a upper range is set as "-20051225000000.000000+0000"

 

VALUE_RANGE_BOTH

DateTime1 and DateTime2 are both valid, represents a full range.

Example: DateTime1 is 01/01/2001.  DateTime2 is 12/25/2005.  

The a full range is set as "20010101000000.000000+0000-20051225000000.000000+0000"

DateTime1

The first date time in the date range.

DateTime2

The second date time in the date range.

See Also

Functions:

LDicomDS::GetDateTimeRangeValue, LDicomDS::SetDateTimeRangeValue

Topics:

Working with Data Sets

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.