class

BACnet::Date

Inherits BinData < Reference < Object

Constants

AFTER_DESERIALIZE = [] of Nil
BEFORE_SERIALIZE = [] of Nil
ENDIAN = ["big"]
KLASS_NAME = [BACnet::Date]
LAST_DAY_OF_MONTH = 32_u8
PARTS = [{type: "basic", name: year_raw, cls: UInt8, onlyif: nil, verify: nil, value: nil, endian: nil}, {type: "basic", name: month_raw, cls: UInt8, onlyif: nil, verify: nil, value: nil, endian: nil}, {type: "basic", name: day_raw, cls: UInt8, onlyif: nil, verify: nil, value: nil, endian: nil}, {type: "basic", name: day_of_week, cls: UInt8, onlyif: nil, verify: nil, value: nil, endian: nil}] of Nil
REMAINING = [] of Nil
UNSPECIFIED = 255_u8

Class methods

bit_fields
Source

Instance methods

__format__

A group or bit_field captures the endianness at its declaration point, so declaring endian after one would silently leave it system-endian. Fail loudly.

Source
day_of_week
day_of_week=(day_of_week : UInt8)
day_raw
day_raw=(day_raw : UInt8)
month
Source
month_raw
month_raw=(month_raw : UInt8)
time_now
Source
timezone
Source
timezone=(timezone : ::Time::Location)
Source
to_s(io)
Source
value
Source
year
Source
year_raw
year_raw=(year_raw : UInt8)