feisty meow concerns codebase
2.140
|
#include <basis/astring.h>
#include <basis/byte_array.h>
#include <basis/contracts.h>
#include <structures/object_packers.h>
Go to the source code of this file.
Classes | |
class | timely::clock_time |
A specific point in time as represented by a 24 hour clock. More... | |
class | timely::day_in_year |
An object that represents a particular day in a year. More... | |
class | timely::time_locus |
An object that represents a particular point in time. More... | |
Namespaces | |
timely | |
#include <time.h> | |
Typedefs | |
typedef basis::signed_long | timely::time_number |
Enumerations | |
enum | timely::days { timely::SUNDAY , timely::MONDAY , timely::TUESDAY , timely::WEDNESDAY , timely::THURSDAY , timely::FRIDAY , timely::SATURDAY } |
enum | timely::months { timely::JANUARY , timely::FEBRUARY , timely::MARCH , timely::APRIL , timely::MAY , timely::JUNE , timely::JULY , timely::AUGUST , timely::SEPTEMBER , timely::OCTOBER , timely::NOVEMBER , timely::DECEMBER } |
enum | timely::time_zones { timely::LOCAL_ZONE , timely::GREENWICH_ZONE } |
An enumeration of time zones, both relative and absolute. More... | |
Functions | |
days | timely::day_now () |
Returns the current local day. More... | |
const char * | timely::day_name (days to_name) |
Returns the name of the day "to_name". More... | |
months | timely::month_now () |
returns the local month. More... | |
const char * | timely::month_name (months to_name) |
Returns the name of the month "to_name". More... | |
const char * | timely::short_month_name (months to_name) |
Returns a shorter, constant-length (3 characters) month name. More... | |
time_number | timely::year_now () |
what year is it? More... | |
clock_time | timely::time_now () |
what time is it? More... | |
day_in_year | timely::date_now () |
what day on the calendar is it? More... | |
time_locus | timely::now () |
returns our current locus in the time continuum. More... | |
time_locus | timely::greenwich_now () |
returns Greenwich Mean Time (their now). More... | |
Variables | |
const time_number | timely::SECONDS_IN_MINUTE = 60 |
Number of seconds in one minute. More... | |
const time_number | timely::MINUTES_IN_HOUR = 60 |
Number of minutes in an hour. More... | |
const time_number | timely::SECONDS_IN_HOUR = 3600 |
Number of seconds in an hour. More... | |
const time_number | timely::HOURS_IN_DAY = 24 |
Number of hours in a day. More... | |
const time_number | timely::MINUTES_IN_DAY = 1440 |
Number of minutes in a day. More... | |
const time_number | timely::SECONDS_IN_DAY = 86400 |
Number of seconds in a day. More... | |
const time_number | timely::DAYS_IN_YEAR = 365 |
Number of days in a standard year. More... | |
const time_number | timely::LEAP_DAYS_IN_YEAR = 366 |
Number of days in a leap year. More... | |
const double | timely::APPROX_DAYS_IN_YEAR = 365.2424 |
A more accurate measure of the number of days in a year. More... | |