Sha256: 741d0f0285ee32e2d4131e1a8f9f1c0b1c345fc2dcf4e15fecbb21610abeb58d
Contents?: true
Size: 341 Bytes
Versions: 1
Compression:
Stored size: 341 Bytes
Contents
class TG::Stunde # < TG::TimeBase def tag in_tg_time_of.out end def datum month = in_tg_time_of.out.in_tg_day_of.out.value day = in_tg_time_of.out.value "#{day.first}.#{month.flatten.first}.#{Date.today.year} #{value}:00" end def next puts value.inspect in_tg_day_of.out.first.tag( value + 1 ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
orientdb-time-graph-0.7 | model/tg/stunde.rb |