Skip to content

Better `splitDegrees`, exposed time constructors, Nakshatras

Compare
Choose a tag to compare
@lfborjas lfborjas released this 15 Sep 02:40
· 204 commits to master since this release
06287a8

BREAKING CHANGE: splitDegrees now takes options that reflect the options in the underlying library.

  • Constructors for JulianTime and SiderealTime are now exposed.
  • Introduce SplitDegreesOption enum for all options one can split degrees with; amends splitDegrees to take
    said options as the first argument.
  • splitDegreesZodiac is unchanged, though a mere veneer for the now more powerful splitDegrees.
  • Since splitDegreesZodiac goes the extra enum-mile to provide human-readable zodiac names, and the underlying
    library can also split on Nakshatras, we now include the NakshatraName enum. Names are from wikipedia
    and I saw some variants, so please forgive any mispellings!