$source_pool_length
$source_pool_length :
A PHP Class to implement the British Swimming Equivalent Time Algorithm
__construct(string $source_pool_length, string $event, double $time_source)
The constructor for a time object. This will contain the information about the source pool and time, as well as T50
| string | $source_pool_length | descibes the length of the source pool, ie "50m" |
| string | $event | describes the event, ie "50 Free" |
| double | $time_source | time in the source pool as a double eg 62.56 or 27.59 |
if the event was not recognised or is not allowed
if the output time or a section of the output time is negative (hence illegal)
if a conversion for this event/pool has not been implemented or is not provided for in the SPORTSYSTEMS/ASA specification for this converter
if the source pool length or requested conversion length does not exist
getConversion(string $target_pool_length)
Method to get a conversion
| string | $target_pool_length | string representing the length of pool to convert the time to |
if the event was not recognised or is not allowed
if the output time or a section of the output time is negative (hence illegal)
if a conversion for this event/pool has not been implemented or is not provided for in the SPORTSYSTEMS/ASA specification for this converter
if the source pool length or requested conversion length does not exist