blob: dc22a6c19de06fbe7e1746a5a2fbc92333c140f8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#include <stdbool.h>
float to_rad (float n);
float to_deg (float n);
float calculateSun(int year,int month,int day,float lat, float lng,int localOffset, bool sunset);
float getSunrise(float lat, float lang);
float getSunset(float lat, float lang);
bool isDark (float sunrise, float sunset);
|