Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mourner/suncalc
/ toDaysTT
Function
toDaysTT
index.js:36–38 ·
view source on GitHub ↗
(d)
Source
from the content-addressed store, hash-verified
34
t = (y - 1820) / 100;
return
-20 + 32 * t * t - 0.5628 * (2150 - y);
35
}
36
function
toDaysTT(d) {
37
return
d + deltaT(d) / 86400;
38
}
39
40
// general calculations for position
41
Callers
6
getPosition
Function · 0.85
solarTransit
Function · 0.85
getSetJ
Function · 0.85
getTimes
Function · 0.85
getMoonPosition
Function · 0.85
getMoonIllumination
Function · 0.85
Calls
1
deltaT
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…