VALUEDATETIMERANGE

Summary

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

Syntax

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

Members

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 an 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.

Usage

See Also

Help Version 23.0.2024.7.1
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.