2020-06-22 07:38:23 +00:00
|
|
|
#include <gtk/gtk.h>
|
|
|
|
#include <time.h>
|
|
|
|
#include <math.h>
|
|
|
|
|
2020-11-03 21:36:41 +00:00
|
|
|
double calc_deg_rad (double deg);
|
2020-06-22 07:38:23 +00:00
|
|
|
|
2020-11-03 21:36:41 +00:00
|
|
|
double calc_rad_deg (double rad);
|
2020-06-22 07:38:23 +00:00
|
|
|
|
2020-07-09 21:39:52 +00:00
|
|
|
int times_to_zone (int day_utc, int hour_utc, int day_local, int hour_local);
|
|
|
|
|
2020-10-27 13:51:30 +00:00
|
|
|
void time_to_utc (int *time_local, int *time_utc);
|
|
|
|
|
2020-07-09 21:39:52 +00:00
|
|
|
void utc_zone_to_time (int *time_utc, int *time_local);
|
|
|
|
|
|
|
|
int max_day_in_month (int month, int year);
|
|
|
|
|
2020-07-02 14:00:54 +00:00
|
|
|
void calc_time_utc (int *time_utc);
|
2020-06-22 07:38:23 +00:00
|
|
|
|
2020-07-02 14:00:54 +00:00
|
|
|
void calc_jd (int *time_utc, double *time_jd);
|
2020-06-22 07:38:23 +00:00
|
|
|
|
2020-07-02 17:38:25 +00:00
|
|
|
void calc_sidereal_time(float longitude, double *time_jd, double *sidereal_time);
|
2020-06-22 07:38:23 +00:00
|
|
|
|
2020-10-28 21:14:56 +00:00
|
|
|
void calc_coordinates_sun(double time_jd, float *coordinates_sun);
|
2020-10-27 13:51:30 +00:00
|
|
|
|
2020-11-03 21:36:41 +00:00
|
|
|
void calc_coordinates_moon(double time_jd, float *coordinates_moon);
|
|
|
|
|
2020-10-27 13:51:30 +00:00
|
|
|
void calc_convert_rotation_horizontal(float right_ascension, float declination, float latitude, double time_sidereal, float *coordinates);
|
2020-06-22 07:38:23 +00:00
|
|
|
|
|
|
|
|