Click or drag to resize

CalendarWebArrivalDays Property

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

Namespace:  Tse.EasyBook.Server.DataContracts
Assembly:  Tse.EasyBook.Server.DataContracts (in Tse.EasyBook.Server.DataContracts.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public string ArrivalDays { get; set; }

Property Value

Type: String
See Also