class Date
Public Instance Methods
to_or()
click to toggle source
# File lib/other.rb, line 155 def to_or "date(\'#{self.to_s}\',\'yyyy-MM-dd\')" end
to_orient()
click to toggle source
# File lib/other.rb, line 148 def to_orient if RUBY_PLATFORM == 'java' java.util.Date.new( year-1900, month-1, day , 0, 0 , 0 ) ## Jahr 0 => 1900 else self end end