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 |
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
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
Returns:
The string representation of the Time
- Type
- String