set

set(days:         Integer;
    milliseconds: Integer) updating;

The set method of the TimeStampInterval primitive type sets the value of a timestamp interval from the days and milliseconds parameters.

The value of the days and milliseconds parameters should both have the same sign. If one is positive and one is negative, an exception is raised.

If the value of the milliseconds parameter is greater than one day in milliseconds (that is, 86400000), the TimeStampInterval value that is set is incremented by the number of whole days that the milliseconds parameter value represents.