Class CalendaristBase

java.lang.Object
com.luna.common.calendarist.core.CalendaristBase
Direct Known Subclasses:
Calendarist

public abstract class CalendaristBase extends Object
  • Field Details

  • Constructor Details

    • CalendaristBase

      public CalendaristBase()
  • Method Details

    • validate

      protected static void validate(int year, int month, int day, int hour, int minute, int second, int millis)
    • set

      public void set(int field, int value)
    • setFrom

      public void setFrom(ConvertFromType from)
    • itsLeapMonth

      public void itsLeapMonth(boolean itsLeapMonth)
      由阴历转换时,设置要转换的月份是否是闰月
      Parameters:
      itsLeapMonth - 是否是闰月