Class: Origami::XDP::Packet::Template::DateTime

Inherits:
Origami::XFA::NamedTemplateElement show all
Defined in:
lib/origami/xfa/template.rb

Instance Method Summary collapse

Methods included from Origami::XFA

included

Constructor Details

#initialize(datetime = nil) ⇒ DateTime

Returns a new instance of DateTime.



53
54
55
56
57
# File 'lib/origami/xfa/template.rb', line 53

def initialize(datetime = nil)
    super('dateTime')

    self.text = datetime
end