Click or drag to resize
AstroUtils Methods

The AstroUtils type exposes the following members.

Methods
  Name Description
Public method CalendarToMJD
Converts a calendar day, month, year to a modified Julian date
Public method ConditionHA
Conditions an hour angle to be in the range -12.0 to +12.0 by adding or subtracting 24.0 hours
Public method ConditionRA
Conditions a Right Ascension value to be in the range 0 to 23.999999.. hours
Public method DeltaT
Returns the current DeltaT value in seconds
Public method DeltaUT
Proivides an estimates of DeltaUT1, the difference between UTC and UT1. DeltaUT1 = UT1 - UTC
Public method Dispose
Releases all resources owned by the AstroUtils component and readies it for disposal
Public method EventTimes
Function that returns a list of rise and set events of a particular type that occur on a particular day at a given latitude, longitude and time zone
Public method FormatJD
Returns a Julian date as a string formatted according to the supplied presentation format
Public method FormatMJD
Returns a modified Julian date as a string formatted acording to the supplied presentation format
Public method JulianDateTT
Current Julian date based on the terrestrial time (TT) time scale
Public method JulianDateUT1
Current Julian date based on the UT1 time scale
Public method MJDToDate
Translates a modified Julian date to a date
Public method MJDToOADate
Translates a modified Julian date to a VB ole automation date, presented as a double
Public method MoonIllumination
Returns the fraction of the Moon's surface that is illuminated
Public method MoonPhase
Returns the Moon phase as an angle
Public method Range
Flexible routine to range a number into a given range between a lower and an higher bound.
Public method UnRefract
Computes atmospheric refraction in zenith distance.
Top
See Also