class DateTime

Public Instance Methods

edtf() click to toggle source
Calls superclass method
   # File lib/edtf/date_time.rb
 3 def edtf
 4   date = super
 5 
 6   time =  strftime('%H:%M:%S')
 7   time << strftime('%Z') unless skip_timezone?
 8 
 9   [date, time].join('T')
10 end
Also aliased as: to_edtf
iso8601() click to toggle source
  # File lib/edtf/compatibility.rb
3 def iso8601
4   to_time.iso8601
5 end
to_edtf()
Alias for: edtf
values() click to toggle source
Calls superclass method
   # File lib/edtf/date_time.rb
14 def values
15   super().concat([hour,minute,second,offset])
16 end