19#ifndef _LN_JULIAN_DAY_H
20#define _LN_JULIAN_DAY_H
27#include <libnova/ln_types.h>
40double LIBNOVA_EXPORT ln_get_julian_day (
struct ln_date * date);
46void LIBNOVA_EXPORT ln_get_date (
double JD,
struct ln_date * date);
52void LIBNOVA_EXPORT ln_get_date_from_timet (time_t * t,
struct ln_date * date);
58void LIBNOVA_EXPORT ln_get_date_from_tm (
struct tm * t,
struct ln_date * date);
64void LIBNOVA_EXPORT ln_get_local_date (
double JD,
struct ln_zonedate * zonedate);
70unsigned int LIBNOVA_EXPORT ln_get_day_of_week (
struct ln_date *date);
76double LIBNOVA_EXPORT ln_get_julian_from_sys ();
83void LIBNOVA_EXPORT ln_get_date_from_sys (
struct ln_date * date);
89double LIBNOVA_EXPORT ln_get_julian_from_timet (time_t * in_time);
95void LIBNOVA_EXPORT ln_get_timet_from_julian (
double JD, time_t * in_time);
101double LIBNOVA_EXPORT ln_get_julian_local_date(
struct ln_zonedate* zonedate);
107int LIBNOVA_EXPORT ln_get_date_from_mpc (
struct ln_date* date,
char* mpc_date);
113double LIBNOVA_EXPORT ln_get_julian_from_mpc (
char* mpc_date);
119void LIBNOVA_EXPORT ln_date_to_zonedate (
struct ln_date * date,
struct ln_zonedate * zonedate,
long gmtoff);
125void LIBNOVA_EXPORT ln_zonedate_to_date (
struct ln_zonedate * zonedate,
struct ln_date * date);
Human readable Date and time used by libnova.
Definition ln_types.h:67
Human readable Date and time with timezone information used by libnova.
Definition ln_types.h:87