DurationCalculator - getTotalSeconds( )

Gets the totalSeconds value that was set by a call to calculate(record).

Table 1. Parameters
Name Type Description
None
Table 2. Returns
TypeDescription
NumberThe total number of seconds.

var dc = new DurationCalculator();
dc.calcDuration(52);
gs.print(dc.getTotalSeconds());

*** Script: 52