Return TRUE if given time string is valid, false otherwise

time:is_valid?(STRING $time) : BOOL

time:is_valid?("23")
#=> FALSE

time:is_valid?("-1 day")
#=> TRUE

time:is_valid?("2020-03-04 00:00:00.000000 UTC")
#=> TRUE

time:is_valid?("2020-03-04 00:00:00.000000 UTGC")
#=> FALSE

time:is_valid?("2020-03-04 00:00:00.000000233 UTC")
#=> FALSE

Copyright ©2013-2022 SunSed®. All rights reserved.