The TimeInterval
companion object provides factory functions for creating time-intervals.
Attributes
- Companion
- class
- Graph
-
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
TimeInterval.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 a time-interval from the given string specification. e.g., "T 03:55 pm-05:10 pm"
Create a time-interval from the given string specification. e.g., "T 03:55 pm-05:10 pm"
Value parameters
- ti
-
the time-interval as a string
Attributes
Create a time-interval from two time-of-week objects.
Create a time-interval from two time-of-week objects.
Value parameters
- tw1
-
the first time-of-week
- tw2
-
the second time-of-week
Attributes
Return an array of time-intervals.
Return an array of time-intervals.
Value parameters
- tis
-
the var-arg of time-interval specification strings
Attributes
Create a multiple time-interval array from the given string specification. e.g., "T R 03:55 pm-05:10 pm"
Create a multiple time-interval array from the given string specification. e.g., "T R 03:55 pm-05:10 pm"
Value parameters
- mti
-
multiple time-intervals as a string
Attributes
Show the time-intervals in the array of time-intervals tia
Show the time-intervals in the array of time-intervals tia
Value parameters
- name
-
the name associated with the time-intervals.
- tia
-
the array of time-intervals