Class: Java::JavaUtil::Date

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

Instance Method Summary collapse

Instance Method Details

#from_orientObject



129
130
131
# File 'lib/other.rb', line 129

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

#to_orientObject



132
133
134
# File 'lib/other.rb', line 132

def to_orient
  self
end