Scout/Concepts/TimeField
Scout |
Wiki Home |
Website |
Download • Git |
Community |
Forums • Blog • Twitter • G+ |
Bugzilla |
Bugzilla |
Specific type of value field to represent Time.
Description
This is a convenience subclass of DateField with HasDate: false
and HasTime: true
Among the different types of data supported by scout, the TimeField is made to represent Time. Time is stored in a Java Date Object (Between 1970-01-01 00:00:00.000 and 1970-01-01 23:59:59.999).
The DateUtility class provides methods to convert this value to a double in the interval [0.0, 1.0[ or to combine the time represented in the Date with a Date without any time. For legacy reason, the Field also provide convenience method to get and set the time as Double:
-
getTimeAsDouble()
-
setTimeAsDouble(double)
Screenshot
RAP | SWT | Swing | Swing Rayo |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
Properties
Defined with getConfiguredXxxxxx() methods.
See also the Field and the Value field pages for the properties that all fields have in common.
Events
Defined with execXxxxxx() methods.
See also the Field and the Value field pages for the events that all fields have in common.
See Also
- Value field
- Field
- Form
- The corresponding column: TimeColumn
- Type of data supported by Scout in the fields