class BACnet::Date

Defined in:

bacnet/objects/date.cr

Constant Summary

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 Method Summary

Macro Summary

Instance Method Summary

Class Method Detail

def self.bit_fields #

[View source]

Macro Detail

macro ba_cnet_apdu_indicator(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_bit_string(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_date(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_npdu(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_npdu_destination(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_npdu_source(name, onlyif = nil, verify = nil, value = nil) #

[View source]

Instance Method Detail

def __format__ : IO::ByteFormat #

[View source]
def day #

[View source]
def day_of_week : UInt8 #

def day_of_week=(day_of_week : UInt8) #

def day_raw : UInt8 #

def day_raw=(day_raw : UInt8) #

def month #

[View source]
def month_raw : UInt8 #

def month_raw=(month_raw : UInt8) #

def time_now #

[View source]
def timezone : ::Time::Location #

[View source]
def timezone=(timezone : ::Time::Location) #

[View source]
def value #

[View source]
def year #

[View source]
def year_raw : UInt8 #

def year_raw=(year_raw : UInt8) #