kopia lustrzana https://gitlab.com/Zwarf/picplanner
32 wiersze
474 B
C
32 wiersze
474 B
C
#include <time.h>
|
|
#include <math.h>
|
|
#include <glib.h>
|
|
|
|
|
|
float
|
|
calc_deg_to_rad (float deg);
|
|
|
|
float
|
|
calc_rad_to_deg (float rad);
|
|
|
|
int
|
|
max_day_in_month (int month, int year);
|
|
|
|
int
|
|
times_to_time_zone (int day_utc, int hour_utc, int day_local, int hour_local);
|
|
|
|
int
|
|
*get_time_utc ();
|
|
|
|
int
|
|
*utc_time_to_local_time (int *time_utc);
|
|
|
|
int
|
|
*local_time_to_utc_time (int *time_local);
|
|
|
|
double
|
|
calc_jd (int *time_utc);
|
|
|
|
double
|
|
time_jd_to_sidereal_time (float longitude, double time_jd);
|