This program maintains a database of duty days, their start and end times and the flights which have occured on those days and the start and end times of those flights. The user is able to determine the number of days into the past for which s/he requires the display the number of duty hours, the numbers of days off and the number of flight hours which have accrued during those past days.
The interface is modeled after the recommendations of the International Civil Avation Organization (ICAO), a body of the United Nations. It is, however, usable with the flight and duty time regulations of any country.
The integrity of the database is contingent on a continuous series of duty days. With this in mind, the application automatically appends as many new duty days as may have accrued between uses of the application to keep the series of duty days current. Each appended duty day is classified as a day off which starts and ends at one minute past midnight. The user can then edit these start and end times and change the day from a day off to a duty day as necessary. While duty days are editable, they cannot be deleted.
A left swipe on any row of the Duty Days table reveals the edit button of that row. The user is taken to an edit screen whose start and end times for the duty day in question are populated with the data for the day to be edited.
A left swipe on any row of the Flights table reveals the edit and delete buttons of that row. In the case of the edit button, the user is taken to an edit screen whose start and end times for the flight in question are populated with the data for the flight to be edited.
The Duty Day and Flight start times can be entered independent of the end times to enable recording of the start times when they occur.
Duty days are shaded red and days off are shaded green. Flights on the made on the same day are the same shade of orange.