Class: Time

BCS. Time


new Time(time)

Makes it easier to work with time values from the BCS

Parameters:
Name Type Description
time Number

Time in tenths of a second

Source:

Methods


<static> fromString(s)

Convert a string into a BCS.Time object

Parameters:
Name Type Description
s String

The string to convert to BCS.Time in hh:mm:ss format

Source:
Returns:

A BCS.Time object

Type
BCS.Time
Example
var timeobj = BCS.Time(1000);
   BCS.Time.fromString(timeobj.toString()) == timeobj;

toString()

Return the string representation of the BCS.Time object

Source:
Returns:

The string representation of the Time

Type
String