Uses of Class
cloud.opencode.base.date.lunar.Lunar

Packages that use Lunar
Package
Description
 
  • Uses of Lunar in cloud.opencode.base.date.lunar

    Classes in cloud.opencode.base.date.lunar that implement interfaces with type arguments of type Lunar
    Modifier and Type
    Class
    Description
    final class 
    Lunar (Chinese Calendar) date representation 农历(中国传统历法)日期表示
    Methods in cloud.opencode.base.date.lunar that return Lunar
    Modifier and Type
    Method
    Description
    static Lunar
    Lunar.of(int year, int month, int day)
    Creates a Lunar date (non-leap month) 创建农历日期(非闰月)
    static Lunar
    Lunar.of(int year, int month, int day, boolean leapMonth)
    Creates a Lunar date 创建农历日期
    static Lunar
    LunarUtil.today()
    Gets the current lunar date 获取当前农历日期
    static Lunar
    LunarUtil.toLunar(LocalDate solarDate)
    Converts a solar (Gregorian) date to lunar date 将阳历(公历)日期转换为农历日期
    Methods in cloud.opencode.base.date.lunar with parameters of type Lunar
    Modifier and Type
    Method
    Description
    int
    Lunar.compareTo(Lunar other)
     
    static LocalDate
    LunarUtil.toSolar(Lunar lunar)
    Converts a lunar date to solar (Gregorian) date 将农历日期转换为阳历(公历)日期