Timespan.Set

Parent Previous Next

Timespan.Set.

Inserts the specified days and time information into the current instance. Returns Self for a possible continuation of operations.


Syntax.


 Set(Integer days, hours, minutes, seconds, millisec) : <Self>

 


Arguments:

Argument

Value range

days

hours

minutes

seconds

millisec

0 .. ±99999999

0 .. ±23

0 .. ±59

0 .. ±59

0 .. ±999


Example:


 Timespan tsA.Set(14, 10, 8, 45, -298);

 String s := tsA.ToString(); //Now s == "+ 14 10:08:44.702";