Class OnTimeStatsEntry
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RouteOnTime
A bean to provide on-time statistics by date.
- Since:
- 10.3
- Version:
- 10.3
- Author:
- Luke
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the total number of on-time flight legs during this period.intReturns the total number of flight legs during this period.voidAdds a statistics entry.Methods inherited from class LegHoursDateStatsEntry
getDate, hashCodeMethods inherited from class LegHoursStatsEntry
getDistance, getHours, getKeys, getLegs, getMaxKey, inc
-
Constructor Details
-
OnTimeStatsEntry
-
-
Method Details
-
getTotalLegs
public int getTotalLegs()Returns the total number of flight legs during this period.- Returns:
- the number of legs
-
getOnTimeLegs
public int getOnTimeLegs()Returns the total number of on-time flight legs during this period.- Returns:
- the number of legs
-
set
Adds a statistics entry.- Overrides:
setin classLegHoursStatsEntry<OnTime>- Parameters:
ot- the OnTime entrylegs- the number of legsdistance- the flight distance in mileshours- the number of hours
-