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

Inherits:
Origami::XFA::Element 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.



68
69
70
71
72
# File 'lib/origami/xfa/template.rb', line 68

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

    self.text = datetime
end