The TimeOfWeek
companion object provide factory functions for creating instances of TimeOfWeek.
Attributes
- Companion
- class
- Graph
-
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
TimeOfWeek.type
Members list
Type members
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Create an instance of TimeOfWeek
from a formatted string specification.
Create an instance of TimeOfWeek
from a formatted string specification.
Value parameters
- dt
-
the day-time as a string
Attributes
From a time-number get the time-of-week, i.e, day and seconds into that day.
From a time-number get the time-of-week, i.e, day and seconds into that day.
Value parameters
- dt
-
the date-time as a time-number
Attributes
- See also
Determine whether the string specification of a day is a correct abbreviation.
Determine whether the string specification of a day is a correct abbreviation.
Value parameters
- dayStr
-
the day specification as a string
Attributes
Determine whether this time is AM (false) or PM (true).
Determine whether this time is AM (false) or PM (true).
Value parameters
- ts
-
the time-string in hh:mm:ss [ | AM | PM ]
Attributes
Parse the time-string and return the total number of seconds into the day.
Parse the time-string and return the total number of seconds into the day.
Value parameters
- ts
-
the time-string in hh:mm [ :ss ] [ | AM | PM ]