Julian class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addDay(
double day) → void -
add
day
to the date -
addHour(
double hr) → void -
add
hr
to the date -
addMin(
double min) → void -
add
min
to the date -
addSec(
double sec) → void -
add
sec
to the date -
date(
) → double -
fromJan1_00h_1900(
) → double -
fromJan1_12h_1900(
) → double -
fromJan1_12h_2000(
) → double -
getComponent(
int pYear, int pMon, double pDOM) → CDate - getComponent() Return requested components of date. Year : Includes the century. Month: 1..12 Day : 1..31 including fractional part
-
getDate(
) → double - return the date as Julian date
-
initialize(
int year, double day) → void - Initialize the Julian object 1582 A.D.: 10 days removed from calendar 3000 A.D.: Arbitrary error checking limit
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
spanDay(
Julian b) → double -
spanHour(
Julian b) → double -
spanMin(
Julian b) → double -
spanSec(
Julian b) → double -
toGmst(
) → double - toGmst() Calculate Greenwich Mean Sidereal Time for the Julian date. The return value is the angle, in radians, measuring eastward from the Vernal Equinox to the prime meridian. This angle is also referred to as "ThetaG" (Theta GMST).
-
toLmst(
double lon) → double - toLmst() Calculate Local Mean Sidereal Time for given longitude (for this date). The longitude is assumed to be in radians measured west from Greenwich. The return value is the angle, in radians, measuring eastward from the Vernal Equinox to the given longitude.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
isLeapYear(
int y) → bool