class Time

Public Instance Methods

to_date_key() click to toggle source
# File lib/ezframe/util.rb, line 87
def to_date_key
  return "%d-%02d-%02d"%[ self.year, self.mon, self.mday ]
end
wday_jp() click to toggle source
# File lib/ezframe/util.rb, line 91
def wday_jp
  return %w[日 月 火 水 木 金 土 日][self.wday]
end