@serenity-is/corelib / parseDayHourAndMin
Function: parseDayHourAndMin()
parseDayHourAndMin(
s):number
Defined in: src/compat/formatting-compat.ts:89
Parses a string in the format "d.hh:mm" into a number containing number of minutes. Returns NaN if the hours not in range 0-23 or minutes not in range 0-59. Returns NULL if the string is empty or whitespace.
Parameters
s
string
Returns
number