VALUEDATERANGE

typedef struct _VALUEDATERANGE 
{ 
   L_UINT32 nFlags;        // Flags 
   VALUEDATE Date1;        // Date1 
   VALUEDATE Date2;        // Date2 
} VALUEDATERANGE,  * pVALUEDATERANGE; 

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

Member Description
nFlags Flags that indicate the type of date range.  Possible values are:
  Value Meaning
  VALUE_RANGE_NONE Only Date1 is valid, representing a single date, not a range.
  VALUE_RANGE_LOWER Only Date1 is valid, represents a lower range.

Example: Date1 is 01/01/2001, then a lower range is set as "20010101-"

  VALUE_RANGE_UPPER Only Date1 is valid, represents an upper range.

Example: Date1 is 09/09/2001, then a upper range is set as "-20010909"

  VALUE_RANGE_BOTH Date1 and Date2 are both valid, represents a full range.

Example: Date1 is 01/01/2001.  Date2 is 09/09/2001.

The a full range is set as "20010101-20010909"

Date1 The first date in the date range.
Date2 The second date in the date range.
Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS DICOM C++ Class Library Help