mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 17:24:01 +00:00
ICU-5032 Remove unused code.
X-SVN-Rev: 19892
This commit is contained in:
parent
14f3f13cd7
commit
cbd6f5368e
2 changed files with 21 additions and 21 deletions
|
@ -617,9 +617,9 @@ CalendarAstronomer::Equatorial& CalendarAstronomer::getSunPosition(CalendarAstro
|
|||
* @internal
|
||||
* @deprecated ICU 2.4. This class may be removed or modified.
|
||||
*/
|
||||
double CalendarAstronomer::VERNAL_EQUINOX() {
|
||||
/*double CalendarAstronomer::VERNAL_EQUINOX() {
|
||||
return 0;
|
||||
}
|
||||
}*/
|
||||
|
||||
/**
|
||||
* Constant representing the summer solstice.
|
||||
|
@ -639,9 +639,9 @@ double CalendarAstronomer::SUMMER_SOLSTICE() {
|
|||
* @internal
|
||||
* @deprecated ICU 2.4. This class may be removed or modified.
|
||||
*/
|
||||
double CalendarAstronomer::AUTUMN_EQUINOX() {
|
||||
/*double CalendarAstronomer::AUTUMN_EQUINOX() {
|
||||
return (CalendarAstronomer::PI);
|
||||
}
|
||||
}*/
|
||||
|
||||
/**
|
||||
* Constant representing the winter solstice.
|
||||
|
@ -650,9 +650,9 @@ double CalendarAstronomer::AUTUMN_EQUINOX() {
|
|||
* @internal
|
||||
* @deprecated ICU 2.4. This class may be removed or modified.
|
||||
*/
|
||||
double CalendarAstronomer::WINTER_SOLSTICE() {
|
||||
/*double CalendarAstronomer::WINTER_SOLSTICE() {
|
||||
return ((CalendarAstronomer::PI*3)/2);
|
||||
}
|
||||
}*/
|
||||
|
||||
CalendarAstronomer::AngleFunc::~AngleFunc() {}
|
||||
|
||||
|
@ -1128,9 +1128,9 @@ double CalendarAstronomer::getMoonPhase() {
|
|||
* @internal
|
||||
* @deprecated ICU 2.4. This class may be removed or modified.
|
||||
*/
|
||||
const CalendarAstronomer::MoonAge CalendarAstronomer::NEW_MOON() {
|
||||
/*const CalendarAstronomer::MoonAge CalendarAstronomer::NEW_MOON() {
|
||||
return CalendarAstronomer::MoonAge(0);
|
||||
}
|
||||
}*/
|
||||
|
||||
/**
|
||||
* Constant representing the moon's first quarter.
|
||||
|
@ -1138,9 +1138,9 @@ const CalendarAstronomer::MoonAge CalendarAstronomer::NEW_MOON() {
|
|||
* @internal
|
||||
* @deprecated ICU 2.4. This class may be removed or modified.
|
||||
*/
|
||||
const CalendarAstronomer::MoonAge CalendarAstronomer::FIRST_QUARTER() {
|
||||
/*const CalendarAstronomer::MoonAge CalendarAstronomer::FIRST_QUARTER() {
|
||||
return CalendarAstronomer::MoonAge(CalendarAstronomer::PI/2);
|
||||
}
|
||||
}*/
|
||||
|
||||
/**
|
||||
* Constant representing a full moon.
|
||||
|
@ -1163,9 +1163,9 @@ public:
|
|||
virtual double eval(CalendarAstronomer&a) { return a.getMoonAge(); }
|
||||
};
|
||||
|
||||
const CalendarAstronomer::MoonAge CalendarAstronomer::LAST_QUARTER() {
|
||||
/*const CalendarAstronomer::MoonAge CalendarAstronomer::LAST_QUARTER() {
|
||||
return CalendarAstronomer::MoonAge((CalendarAstronomer::PI*3)/2);
|
||||
}
|
||||
}*/
|
||||
|
||||
/**
|
||||
* Find the next or previous time at which the Moon's ecliptic
|
||||
|
@ -1425,7 +1425,7 @@ void CalendarAstronomer::clearCache() {
|
|||
* @internal
|
||||
* @deprecated ICU 2.4. This class may be removed or modified.
|
||||
*/
|
||||
UDate CalendarAstronomer::local(UDate localMillis) {
|
||||
/*UDate CalendarAstronomer::local(UDate localMillis) {
|
||||
// TODO - srl ?
|
||||
TimeZone *tz = TimeZone::createDefault();
|
||||
int32_t rawOffset;
|
||||
|
@ -1434,7 +1434,7 @@ UDate CalendarAstronomer::local(UDate localMillis) {
|
|||
tz->getOffset(localMillis, TRUE, rawOffset, dstOffset, status);
|
||||
delete tz;
|
||||
return localMillis - rawOffset;
|
||||
}
|
||||
}*/
|
||||
|
||||
// Debugging functions
|
||||
UnicodeString CalendarAstronomer::Ecliptic::toString() const
|
||||
|
|
|
@ -497,7 +497,7 @@ public:
|
|||
* Note: In this case, "vernal" refers to the northern hemisphere's seasons.
|
||||
* @internal
|
||||
*/
|
||||
static double VERNAL_EQUINOX();
|
||||
// static double VERNAL_EQUINOX();
|
||||
|
||||
/**
|
||||
* Constant representing the summer solstice.
|
||||
|
@ -513,7 +513,7 @@ public:
|
|||
* Note: In this case, "autumn" refers to the northern hemisphere's seasons.
|
||||
* @internal
|
||||
*/
|
||||
static double AUTUMN_EQUINOX();
|
||||
// static double AUTUMN_EQUINOX();
|
||||
|
||||
/**
|
||||
* Constant representing the winter solstice.
|
||||
|
@ -521,7 +521,7 @@ public:
|
|||
* Note: In this case, "winter" refers to the northern hemisphere's seasons.
|
||||
* @internal
|
||||
*/
|
||||
static double WINTER_SOLSTICE();
|
||||
// static double WINTER_SOLSTICE();
|
||||
|
||||
/**
|
||||
* Find the next time at which the sun's ecliptic longitude will have
|
||||
|
@ -596,14 +596,14 @@ public:
|
|||
* For use with {@link #getMoonTime getMoonTime}
|
||||
* @internal
|
||||
*/
|
||||
static const MoonAge NEW_MOON();
|
||||
// static const MoonAge NEW_MOON();
|
||||
|
||||
/**
|
||||
* Constant representing the moon's first quarter.
|
||||
* For use with {@link #getMoonTime getMoonTime}
|
||||
* @internal
|
||||
*/
|
||||
static const MoonAge FIRST_QUARTER();
|
||||
// static const MoonAge FIRST_QUARTER();
|
||||
|
||||
/**
|
||||
* Constant representing a full moon.
|
||||
|
@ -617,7 +617,7 @@ public:
|
|||
* For use with {@link #getMoonTime getMoonTime}
|
||||
* @internal
|
||||
*/
|
||||
static const MoonAge LAST_QUARTER();
|
||||
// static const MoonAge LAST_QUARTER();
|
||||
|
||||
/**
|
||||
* Find the next or previous time at which the Moon's ecliptic
|
||||
|
@ -759,7 +759,7 @@ private:
|
|||
/**
|
||||
* @internal
|
||||
*/
|
||||
UDate local(UDate localMillis);
|
||||
// UDate local(UDate localMillis);
|
||||
};
|
||||
|
||||
U_NAMESPACE_END
|
||||
|
|
Loading…
Add table
Reference in a new issue