Xceed Zip Compression Library Documentation
xcdUpdateZipDateOptions enumeration
Xceed Zip control reference > Xceed Zip control enumeration types > xcdUpdateZipDateOptions enumeration

enum xcdUpdateZipDateOptions
{
  // Bits 0-3 for WHAT to update (bitfield)
  xutUpdateLastModifiedDate = 0x00000001,
  xutUpdateCreatedDate      = 0x00000002,
  xutUpdateLastAccessedDate = 0x00000004,
  xutUpdateAllDates         = 0x00000007,

  // Bits 4-7 for source FROM (single value)
  xutFromRespectiveDate     = 0x00000000,
  xutFromLastModifiedDate   = 0x00000010,
  xutFromCreatedDate        = 0x00000020,
  xutFromLastAccessedDate   = 0x00000030,
  xutFromCurrentDate        = 0x00000040, 

  // Bit 8 for newest (0) or oldest (1)
  xutUseNewestDate          = 0x00000000,
  xutUseOldestDate          = 0x00000100, 

  // Default behavior
  // xutUpdateLastModifiedDate | xutFromRespectiveDate | xutUseNewestDate
  xutDefaultBehavior        = 0x00000001,
}

This enumeration is used by the UpdateZipDate method.