Class: Date

Inherits:
Object
  • Object
show all
Defined in:
lib/glimmer-dsl-opal/ext/date.rb

Direct Known Subclasses

DateTime

Instance Method Summary collapse

Instance Method Details

#to_datetimeObject



37
38
39
40
# File 'lib/glimmer-dsl-opal/ext/date.rb', line 37

def to_datetime
  # TODO support timezone
  DateTime.new(year, month, day, hour, min, sec)
end