Class: DateTime

Inherits:
Object
  • Object
show all
Defined in:
lib/edtf/date_time.rb,
lib/edtf/compatibility.rb

Instance Method Summary collapse

Instance Method Details

#edtfObject Also known as: to_edtf



3
# File 'lib/edtf/date_time.rb', line 3

alias edtf iso8601

#iso8601Object



4
5
6
# File 'lib/edtf/compatibility.rb', line 4

def iso8601
  to_time.iso8601
end

#valuesObject



6
7
8
# File 'lib/edtf/date_time.rb', line 6

def values
  super().cocat([hour,minute,second,offset])
end