Class: DateTime
- Inherits:
-
Object
- Object
- DateTime
- Defined in:
- lib/edtf/date_time.rb,
lib/edtf/compatibility.rb
Instance Method Summary collapse
- #edtf ⇒ Object (also: #to_edtf)
- #iso8601 ⇒ Object
- #values ⇒ Object
Instance Method Details
#edtf ⇒ Object Also known as: to_edtf
3 |
# File 'lib/edtf/date_time.rb', line 3 alias edtf iso8601 |
#iso8601 ⇒ Object
4 5 6 |
# File 'lib/edtf/compatibility.rb', line 4 def iso8601 to_time.iso8601 end |
#values ⇒ Object
6 7 8 |
# File 'lib/edtf/date_time.rb', line 6 def values super().cocat([hour,minute,second,offset]) end |