#include "packable.h"Include dependency graph for earth_time.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Namespaces | |
| namespace | earth_time |
Classes | |
| class | earth_time::clock_time |
| A specific point in time as represented by a 24 hour clock. More... | |
| class | earth_time::day_in_year |
| An object that represents a particular day in a year. More... | |
| class | earth_time::time_locus |
| An object that represents a particular point in time. More... | |
Enumerations | |
| enum | earth_time::days { earth_time::SUNDAY, earth_time::MONDAY, earth_time::TUESDAY, earth_time::WEDNESDAY, earth_time::THURSDAY, earth_time::FRIDAY, earth_time::SATURDAY } |
| enum | earth_time::months { earth_time::JANUARY, earth_time::FEBRUARY, earth_time::MARCH, earth_time::APRIL, earth_time::MAY, earth_time::JUNE, earth_time::JULY, earth_time::AUGUST, earth_time::SEPTEMBER, earth_time::OCTOBER, earth_time::NOVEMBER, earth_time::DECEMBER } |
| enum | earth_time::time_zones { earth_time::LOCAL_ZONE, earth_time::GREENWICH_ZONE } |
| An enumeration of time zones, both relative and absolute. More... | |
Functions | |
| days | earth_time::day_now () |
| Returns the current local day. | |
| const char * | earth_time::day_name (days to_name) |
| Returns the name of the day "to_name". | |
| months | earth_time::month_now () |
| returns the local month. | |
| const char * | earth_time::month_name (months to_name) |
| Returns the name of the month "to_name". | |
| const char * | earth_time::short_month_name (months to_name) |
| Returns a shorter, constant-length (3 characters) month name. | |
| int | earth_time::year_now () |
| what year is it? | |
| clock_time | earth_time::time_now () |
| what time is it? | |
| day_in_year | earth_time::date_now () |
| what day on the calendar is it? | |
| time_locus | earth_time::now () |
| returns our current locus in the time continuum. | |
| time_locus | earth_time::greenwich_now () |
| returns Greenwich Mean Time (their now). | |
| bool | earth_time::set_time (const time_locus &new_time) |
| makes the current time equal to "new_time". | |
Variables | |
| const int | earth_time::days_in_month [12] |
| The number of days in each month in the standard year. | |
| const int | earth_time::leap_days_in_month [12] |
| The number of days in each month in a leap year. | |
| const int | earth_time::julian_days_in_month [12] |
| Number of days in each month based on the julian calendar. | |
| const int | earth_time::julian_leap_days_in_month [12] |
| Number of days in each month of a leap year in the julian calendar. | |
| const int | earth_time::SECONDS_IN_MINUTE = 60 |
| Number of seconds in one minute. | |
| const int | earth_time::MINUTES_IN_HOUR = 60 |
| Number of minutes in an hour. | |
| const int | earth_time::HOURS_IN_DAY = 24 |
| Number of hours in a day. | |
| const int | earth_time::DAYS_IN_YEAR = 365 |
| Number of days in a standard year. | |
| const int | earth_time::LEAP_DAYS_IN_YEAR = 366 |
| Number of days in a leap year. | |
| const double | earth_time::APPROX_DAYS_IN_YEAR = 365.2424 |
| A more accurate measure of the number of days in a year. | |
1.5.1