class Puppet::Pops::Time::Timespan::Format::DaySegment
Public Class Methods
new(padchar, width)
click to toggle source
Calls superclass method
Puppet::Pops::Time::Timespan::Format::ValueSegment::new
# File lib/puppet/pops/time/timespan.rb 418 def initialize(padchar, width) 419 super(padchar, width, 1) 420 end
Public Instance Methods
append_to(bld, ts)
click to toggle source
# File lib/puppet/pops/time/timespan.rb 426 def append_to(bld, ts) 427 append_value(bld, ts.days) 428 end
multiplier()
click to toggle source
# File lib/puppet/pops/time/timespan.rb 422 def multiplier 423 NSECS_PER_DAY 424 end