SolarTermUtil class
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
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
addGxc(double t, List<double> zb)
→ void
-
恒星周年光行差计算(黄道坐标中)
-
angleDiff(int lx, double time, double angle)
→ double
-
地心坐标中的日月位置计算
-
atomTimeDiff(double julian)
→ double
-
传入儒略日(J2000起算),计算UTC与原子时的差(单位:日)
-
doubleFloor(double v)
→ double
-
向下取整
-
earCal(double jd)
→ List<double>
-
返回地球位置,日心Date黄道分点坐标
-
Enn(List<double> F)
→ double
-
计算E10,E11,E20等,即:某一组周期项或泊松项算出,计算前先设置EnnT时间
-
getSolarTerms(int year)
→ List<String>
-
获得某一年24节气
-
getSolarTermsNextOffset(int year)
→ List<String>
-
要获得2018年24节气需要传入2017年
-
getSolarTermsPreOffset(int year)
→ List<String>
-
要获得2018年24节气需要传入2017年
-
getTimeFromAngle(double t1, double angle, int lx)
→ double
-
已知位置反求时间,对于节气计算,应满足t在t1到t1+360天之间,对于Y年第n个节气(n=0是春分),t1可取值Y365.2422+n15.2,
对于朔望计算,应满足t在t1到t1+25天之间,在此范围之外,求右边的根
-
Mnn(List<double> F)
→ double
-
计算M10,M11,M20等,计算前先设置MnnT时间
-
moonCoord(double julian)
→ List<double>
-
返回月球位置,返回地心Date黄道坐标
-
nutation(double t)
→ Nutation
-
计算黄经章动及交角章动
-
precession(double jd, List<double> zb)
→ void
-
补岁差
-
rad2mrad(double v)
→ double
-
对超过0-2PI的角度转为0-2PI
-
setFromJulian(double jd, bool UTC)
→ Time
-
儒略日数转公历,UTC=1表示目标公历是UTC
-
toJulian(Time time, bool UTC)
→ double
-
公历转儒略日,UTC=1表示原日期是UTC
-
worldTimeDiff(double year)
→ double
-
计算世界时与原子时之差,传入年