Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCalendarAstronomer.java191 static private final double RAD_DEG = 180 / PI; // radians -> degrees field in CalendarAstronomer
1321 long delta = (long)((240 * y * RAD_DEG / cosD)*SECOND_MS);
1515 return Double.toString(longitude*RAD_DEG) + "," + (latitude*RAD_DEG);
1576 return Double.toString(ascension*RAD_DEG) + "," + (declination*RAD_DEG);
1643 return Double.toString(altitude*RAD_DEG) + "," + (azimuth*RAD_DEG);
1668 int deg = (int) (angle*RAD_DEG);
1669 int min = (int)((angle*RAD_DEG - deg) * 60);
1670 int sec = (int)((angle*RAD_DEG - deg - min/60.0) * 3600);
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCalendarAstronomer.java193 static private final double RAD_DEG = 180 / PI; // radians -> degrees field in CalendarAstronomer
1323 long delta = (long)((240 * y * RAD_DEG / cosD)*SECOND_MS);
1517 return Double.toString(longitude*RAD_DEG) + "," + (latitude*RAD_DEG);
1578 return Double.toString(ascension*RAD_DEG) + "," + (declination*RAD_DEG);
1645 return Double.toString(altitude*RAD_DEG) + "," + (azimuth*RAD_DEG);
1670 int deg = (int) (angle*RAD_DEG);
1671 int min = (int)((angle*RAD_DEG - deg) * 60);
1672 int sec = (int)((angle*RAD_DEG - deg - min/60.0) * 3600);
/external/icu/icu4c/source/i18n/
Dastro.cpp208 #define RAD_DEG ( 180 / CalendarAstronomer::PI ) // radians -> degrees macro
1404 long delta = (long)((240 * y * RAD_DEG / cosD)*SECOND_MS); in riseOrSet()
1484 sprintf(tmp, "[%.5f,%.5f]", longitude*RAD_DEG, latitude*RAD_DEG); in toString()
1496 (ascension*RAD_DEG), (declination*RAD_DEG)); in toString()
1507 sprintf(tmp, "[%.5f,%.5f]", altitude*RAD_DEG, azimuth*RAD_DEG); in toString()