Class: Msf::Util::DotNetDeserialization::Types::Primitives::DateTime
- Inherits:
-
BinData::Primitive
- Object
- BinData::Primitive
- Msf::Util::DotNetDeserialization::Types::Primitives::DateTime
- Defined in:
- lib/msf/util/dot_net_deserialization/types/primitives.rb
Constant Summary collapse
- KindEnum =
{ unspecified: 0, utc: 1, local: 2 }
Instance Method Summary collapse
Instance Method Details
#get ⇒ Object
35 36 37 |
# File 'lib/msf/util/dot_net_deserialization/types/primitives.rb', line 35 def get self.ticks end |
#kind_name ⇒ Object
43 44 45 |
# File 'lib/msf/util/dot_net_deserialization/types/primitives.rb', line 43 def kind_name KindEnum.key(kind) end |
#set(ticks) ⇒ Object
39 40 41 |
# File 'lib/msf/util/dot_net_deserialization/types/primitives.rb', line 39 def set(ticks) self.ticks = ticks end |