class BACnet::Time
- BACnet::Time
- BinData
- Reference
- Object
Defined in:
bacnet/objects/time.crConstant Summary
-
ENDIAN =
["big"]
-
KLASS_NAME =
[BACnet::Time]
-
PARTS =
[{type: "basic", name: hour_raw, cls: UInt8, onlyif: nil, verify: nil, value: nil, endian: nil}, {type: "basic", name: minute_raw, cls: UInt8, onlyif: nil, verify: nil, value: nil, endian: nil}, {type: "basic", name: second_raw, cls: UInt8, onlyif: nil, verify: nil, value: nil, endian: nil}, {type: "basic", name: hundredth_raw, cls: UInt8, onlyif: nil, verify: nil, value: nil, endian: nil}] of Nil
-
REMAINING =
[] of Nil
-
UNSPECIFIED =
255_u8
Class Method Summary
Macro Summary
- ba_cnet_apdu_indicator(name, onlyif = nil, verify = nil, value = nil)
- ba_cnet_bit_string(name, onlyif = nil, verify = nil, value = nil)
- ba_cnet_date(name, onlyif = nil, verify = nil, value = nil)
- ba_cnet_npdu(name, onlyif = nil, verify = nil, value = nil)
- ba_cnet_npdu_destination(name, onlyif = nil, verify = nil, value = nil)
- ba_cnet_npdu_source(name, onlyif = nil, verify = nil, value = nil)
- ba_cnet_object_identifier(name, onlyif = nil, verify = nil, value = nil)
- ba_cnet_property_identifier(name, onlyif = nil, verify = nil, value = nil)
- ba_cnet_time(name, onlyif = nil, verify = nil, value = nil)
Instance Method Summary
- #__format__ : IO::ByteFormat
- #hour(default : ::Time)
- #hour_raw : UInt8
- #hour_raw=(hour_raw : UInt8)
- #hundredth_raw : UInt8
- #hundredth_raw=(hundredth_raw : UInt8)
- #minute(default : ::Time)
- #minute_raw : UInt8
- #minute_raw=(minute_raw : UInt8)
- #nanosecond(default : ::Time)
- #second(default : ::Time)
- #second_raw : UInt8
- #second_raw=(second_raw : UInt8)
- #timezone : ::Time::Location
- #timezone=(timezone : ::Time::Location)
- #value(date = ::Time.local(@timezone))