Home
last modified time | relevance | path

Searched refs:declination (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DAstroTest.java72 if (result.declination != tests[i][7]) { in TestSolarLongitude()
73 if ((float)result.declination == (float)tests[i][7]) { in TestSolarLongitude()
74 logln("result.declination(" + result.declination + in TestSolarLongitude()
78 errln("FAIL: result.declination(" + result.declination + in TestSolarLongitude()
112 if (result.declination != tests[i][6]) { in TestLunarPosition()
113 if ((float)result.declination == (float)tests[i][6]) { in TestLunarPosition()
114 logln("result.declination(" + result.declination + in TestLunarPosition()
118 errln("FAIL: result.declination(" + result.declination + in TestLunarPosition()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCalendarAstronomer.java482 double sinD = Math.sin(equatorial.declination); in eclipticToHorizon()
483 double cosD = Math.cos(equatorial.declination); in eclipticToHorizon()
1300 double angle = Math.acos(-tanL * Math.tan(pos.declination));
1312 double cosD = Math.cos(pos.declination);
1560 declination = dec;
1569 return Double.toString(ascension*RAD_DEG) + "," + (declination*RAD_DEG);
1578 return radToHms(ascension) + "," + radToDms(declination);
1596 public final double declination;
/external/icu/icu4c/source/i18n/
Dastro.h155 : ascension(asc), declination(dec) { } in ascension()
165 declination = dec; in set()
199 double declination; variable
Dastro.cpp507 double sinD = ::sin(equatorial.declination); in eclipticToHorizon()
508 double cosD = cos(equatorial.declination); in eclipticToHorizon()
1384 double angle = ::acos(-tanL * ::tan(pos.declination)); in riseOrSet()
1393 count, deltaT, angle, lst, pos.ascension, pos.declination)); in riseOrSet()
1398 double cosD = ::cos(pos.declination); in riseOrSet()
1494 (ascension*RAD_DEG), (declination*RAD_DEG)); in toString()