package lunar4s
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- lunar4s
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
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 (閏月)
- class LunarDateArgumentException extends RuntimeException
Value Members
- final val BASE_DATE: LocalDateTime
- final val BASE_YEAR: Int
- final val MAX_YEAR: Int(2099)
- object LunarDate extends Serializable
- object LunarDateExtra
- object LunarDateOutOfRangeException extends LunarDateArgumentException with Product with Serializable
- object MonthOutOfRangeException extends LunarDateArgumentException with Product with Serializable
- object YearOutOfRangeException extends LunarDateArgumentException with Product with Serializable