Planetary Hours
Chaldean planetary hours for a date and place: 12 from sunrise to sunset and 12 from sunset to sunrise, so an hour is rarely 60 minutes. startHour and endHour are decimal local hours. Send atLocalHour (decimal local time, e.g. 15.2 for 15:12) to have the hour containing it marked isCurrent; without it no hour carries the field, because the answer is cacheable and a flag from the server clock would be stale by the time it renders. sunTimes.polarState is normal, polar-day or polar-night, and in the two polar cases there is nothing to divide, so hours comes back empty with a warning saying why.
Request body
Example request
{
"atLocalHour": 15.2
}Response
Successful calculation
Example response
{
"ok": true
}Changes
Changed in 2 of the 13 revisions of this API.610
- ●
removed the optional property
data/dayHoursfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/nightHoursfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/sunrisefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
data/sunsetfrom the response with the200statusresponse-optional-property-removed
- ○
added the new optional request property
atLocalHournew-optional-request-property
- ○
added the optional property
data/dateto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/dayOfWeekto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/dayRulerPlanetIdto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/dayRulerPlanetNameto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/hoursto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/latitudeto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/longitudeto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/sunTimesto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/timezoneto the response with the200statusresponse-optional-property-added
- ●
- ●
the
timezoneOffsetrequest property's max was set to14.00request-property-max-set
- ●
the
timezoneOffsetrequest property's min was set to-14.00request-property-min-set
- ●