Class: Java::JavaUtil::Date

Inherits:
Object
  • Object
show all
Defined in:
lib/other.rb

Instance Method Summary collapse

Instance Method Details

#from_orientObject



96
97
98
# File 'lib/other.rb', line 96

def from_orient
  Date.new(year+1900, month+1, date )
end

#to_orientObject



99
100
101
# File 'lib/other.rb', line 99

def to_orient
  self
end