IEC_BACNET_DATE (STRUCT)ΒΆ
TYPE IEC_BACNET_DATE : STRUCT
Define for BACnetDate
A Date is a BACnet primitive datatype. A Property Contents containing data of this type will have its tag equal to DATA_TYPE_DATE. A Date contains year, month, day of month and day of week attributes. Each of the attributes has a special value indicating that the attribute is unspecified (e.g. YEAR_UNSPECIFIED). The day of week attribute is not modified by the API to be consistent with the other attributes of the Date. Its the responsibility of th application to check this.
- InOut:
Name
Type
Comment
yearThe year in BACnetDate starts with an offset century of 1900 but for the user application convinience the complete century is stored and expected here by the API. So a value of 2012 means year 2012.
monthThe month of the BACnetDate
dayOfMonthThe day of month of the BACnetDate
dayOfWeekThe day of week of the BACnetDate