Click or drag to resize

CalendarWeb Properties

The CalendarWeb type exposes the following members.

Properties
  NameDescription
Public propertyArrivalDays
If the field DurationFormat either is absent or contains the value false, then this field contains a string formatted as described in the comments on the class for this field.
Otherwise this field contains a string containing the new duration based calender string format.
For the duration based format each day has one of the following 4 values:
  • Value 1:A??????????
  • Value 2:a
  • Value 3:B
  • Value 4:b
Value 1 consists of the upper-case letter A followed by integer number. Value 1 represent a day where arrival is possible. The reverse one-based position of the bits in the integer number, represent the possible durations in days for rental periods with arrival on this day. So the integer number 96 converts to the binary number 1100000 and the reverse of that is 0000011. Therefor durations of either 6 or 7 days are possible for arrivals on this day. The maximum value of this integer number is 4294967295(32 bits).
Value 2 represent a vacant day that is available for booking, but where arrival is NOT possible.
Value 3 and 4 represent a occupied day that is NOT available for booking.
All the days between the date Offset and the date of EndDate, both included, are represented by one of the 4 values followed by a comma.
Example of a string value for ArrivalDays: A12384,a,a,a,a,a,a,A96,a,a,a,a,a,a,b,b
Public propertyDepartureDays
If the field DurationFormat either is absent or contains the value false, then this field contains a string formatted as described in comments to the class CalendarWeb. Otherwise this field is empty.
Public propertyDurationFormat
If true the field ArrivalDays contains a duration calendar string format and the field DepartureDays is null. Otherwise these fields contains the normal calendar string format.
Public propertyEndDate
Property StartDateOfDays
Public propertyOffset
Property StartDateOfDays
Top
See Also