Home
last modified time | relevance | path

Searched refs:lon (Results 1 – 3 of 3) sorted by relevance

/PHP-8.1/ext/date/lib/
H A Dastro.h29 #define day_length(year,month,day,lon,lat) \ argument
30 __daylen__( year, month, day, lon, lat, -35.0/60.0, 1 )
35 #define day_civil_twilight_length(year,month,day,lon,lat) \ argument
36 __daylen__( year, month, day, lon, lat, -6.0, 0 )
41 #define day_nautical_twilight_length(year,month,day,lon,lat) \ argument
42 __daylen__( year, month, day, lon, lat, -12.0, 0 )
47 #define day_astronomical_twilight_length(year,month,day,lon,lat) \ argument
48 __daylen__( year, month, day, lon, lat, -18.0, 0 )
61 #define civil_twilight(ts,lon,lat,start,end) \ argument
67 #define nautical_twilight(ts,lon,lat,start,end) \ argument
[all …]
H A Dastro.c133 static void astro_sunpos(double d, double *lon, double *r) in astro_sunpos() argument
154 *lon = v + w; /* True solar longitude */ in astro_sunpos()
155 if (*lon >= 360.0) { in astro_sunpos()
156 *lon -= 360.0; /* Make it 0..360 degrees */ in astro_sunpos()
162 double lon, obl_ecl, x, y, z; in astro_sun_RA_dec() local
165 astro_sunpos(d, &lon, r); in astro_sun_RA_dec()
168 x = *r * cosd(lon); in astro_sun_RA_dec()
169 y = *r * sind(lon); in astro_sun_RA_dec()
212 int timelib_astro_rise_set_altitude(timelib_time *t_loc, double lon, double lat, double altit, int … in timelib_astro_rise_set_altitude() argument
244 d = timelib_ts_to_j2000(timestamp) + 2 - lon/360.0; in timelib_astro_rise_set_altitude()
[all …]
H A Dtimelib.h1031 int timelib_astro_rise_set_altitude(timelib_time *time, double lon, double lat, double altit, int u…

Completed in 20 milliseconds