| Previous | Next | Frames | No Frames |
| Summary: Field | Property | Contructor | Method | Detail: Field | Property | Contructor | Method |
Object | +--xp.util.TimeInterval
Field Summary | |
| public | days: Number |
| time interval in days | |
| public | endTime: Date |
| the end date object | |
| public | hours: Number |
| time interval in hours | |
| public | interval: Number |
| the interval this object represents | |
| public | maxDimension: Number |
| the maximum time dimension | |
| public | milliseconds: Number |
| time interval in milliseconds | |
| public | minutes: Number |
| time interval in minutes | |
| public | seconds: Number |
| time interval in seconds | |
| public | startTime: Date |
| the start date obejct | |
Method Summary | |
| public | calculateInterval ( ) |
| recalculates the interval based on the end and start times | |
| public | setTimeInterval ( interval: Number ) |
| directly sets the interval | |
| public | setTimes ( start: Date, end: Date ) |
| directly sets end and start times | |
| public | update ( ) |
| update the all the fields with the time interval | |
| public var days: Number |
| time interval in days |
| public var endTime: Date |
| the end date object |
| public var hours: Number |
| time interval in hours |
| public var interval: Number |
| the interval this object represents |
| public var maxDimension: Number |
| the maximum time dimension this controls the max reporting dimension. One of 4=days,3-hours,2-minutes,1-seconds,0-milliseconds. If the interval is say 50hrs and the maximum dimension is set to hours then the interval will be calculated as hours with hours =50 and days=0 If max dimension was days then days=2 hours=2; |
| public var milliseconds: Number |
| time interval in milliseconds |
| public var minutes: Number |
| time interval in minutes |
| public var seconds: Number |
| time interval in seconds |
| public var startTime: Date |
| the start date obejct |
|
| recalculates the interval based on the end and start times |
|
| directly sets the interval |
|
| directly sets end and start times |
|
| update the all the fields with the time interval |