TimeUnitIfc

protected interface TimeUnitIfc<T>(source)

A Tagging interface to force the builder to specify time timeUnits after calling the in() method.

Converts the time within EventScheduler to timeUnits for scheduling the event. Ensures that the event has the appropriate time timeUnits.

Author

rossetti

Parameters

the type for the thing that the event might hold as a message

Inheritors

Functions

Link copied to clipboard
abstract fun days(): KSLEvent<T>

Creates and schedules the event associated carrying the model interpreting the event time in days

Link copied to clipboard
abstract fun hours(): KSLEvent<T>

Creates and schedules the event associated carrying the model interpreting the event time in hours

Link copied to clipboard
abstract fun milliseconds(): KSLEvent<T>

Creates and schedules the event associated carrying the model interpreting the event time in milliseconds

Link copied to clipboard
abstract fun minutes(): KSLEvent<T>

Creates and schedules the event associated carrying the model interpreting the event time in minutes

Link copied to clipboard
abstract fun seconds(): KSLEvent<T>

Creates and schedules the event associated carrying the model interpreting the event time in seconds

Link copied to clipboard
abstract fun units(): KSLEvent<T>

Creates and schedules the event reacting with the base time units associated with the model

Link copied to clipboard
abstract fun weeks(): KSLEvent<T>

Creates and schedules the event associated carrying the model interpreting the event time in weeks