libnova  v 0.15.0
Data Fields
ln_zonedate Struct Reference

Human readable Date and time with timezone information used by libnova. More...

Data Fields

int years
int months
int days
int hours
int minutes
double seconds
long gmtoff

Detailed Description

Human readable Date and time with timezone information used by libnova.

Zone date

This is the Human readable (easy printf) date with timezone format used by libnova.

Examples:

asteroid.c, comet.c, lunar.c, mars.c, and sun.c.


Field Documentation

Days. Valid values 1 - 28,29,30,31 Depends on month.

Examples:
asteroid.c, comet.c, lunar.c, mars.c, and sun.c.

Referenced by ln_date_to_zonedate(), and ln_zonedate_to_date().

Timezone offset. Seconds east of UTC. Valid values 0..86400

Examples:
comet.c.

Referenced by ln_date_to_zonedate(), and ln_zonedate_to_date().

Hours. Valid values 0 - 23.

Examples:
asteroid.c, comet.c, lunar.c, mars.c, and sun.c.

Referenced by ln_date_to_zonedate(), and ln_zonedate_to_date().

Minutes. Valid values 0 - 59.

Examples:
asteroid.c, comet.c, lunar.c, mars.c, and sun.c.

Referenced by ln_date_to_zonedate(), and ln_zonedate_to_date().

Months. Valid values : 1 (January) - 12 (December)

Examples:
asteroid.c, comet.c, lunar.c, mars.c, and sun.c.

Referenced by ln_date_to_zonedate(), and ln_zonedate_to_date().

Seconds. Valid values 0 - 59.99999....

Examples:
asteroid.c, comet.c, lunar.c, mars.c, and sun.c.

Referenced by ln_date_to_zonedate(), and ln_zonedate_to_date().

Years. All values are valid

Examples:
asteroid.c, comet.c, lunar.c, mars.c, and sun.c.

Referenced by ln_date_to_zonedate(), and ln_zonedate_to_date().