TimeOfWeek

scalation.database.TimeOfWeek
See theTimeOfWeek companion class
object TimeOfWeek

The TimeOfWeek companion object provide factory functions for creating instances of TimeOfWeek.

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
TimeOfWeek.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(dt: String): TimeOfWeek

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
def isDay(dayStr: String): Boolean

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

def isPM(ts: String): Boolean

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

def parseTime(ts: String): Long

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 ]

Attributes