Packages

package lunar4s

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. lunar4s
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package js

Type Members

  1. case class LunarDate(year: Int, month: Int, date: Int, hour: Int, lunarHour: Int, isLeap: Boolean) extends Product with Serializable

    Constructor.

    Constructor.

    year

    year of Lunar date

    month

    month of Lunar date

    date

    date of Lunar date

    hour

    hour of original DateTime

    lunarHour

    lunar hour in terms of Stem(天) or so called 時辰, value from 0 ~ 12.

    isLeap

    is the month a leap month (閏月)

    Annotations
    @JSExportAll()
  2. class LunarDateArgumentException extends RuntimeException

Value Members

  1. final val BASE_DATE: LocalDateTime
  2. final val BASE_YEAR: Int
  3. final val MAX_YEAR: Int(2099)
  4. object LunarDate extends Serializable
  5. object LunarDateExtra
  6. case object LunarDateOutOfRangeException extends LunarDateArgumentException with Product with Serializable
  7. case object MonthOutOfRangeException extends LunarDateArgumentException with Product with Serializable
  8. object SolarTerms

    Currently only support 21st century.

  9. case object YearOutOfRangeException extends LunarDateArgumentException with Product with Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped