Name

new — Creates a new IntervalDS object

Synopsis

IntervalDS.new(value, dayprecision, secondprecision)

Description

#new creates a new IntervalDS object. With no arguments, the interval is set to zero. If value is specified, it must be a String, Fixnum, Bignum, Float or Ruby9i::Number. If it is one of the numeric types, it is used as a number of days. If dayprecision or secondprecision is specified, the respective instance variable is set.