Uses of Class
cloud.opencode.base.date.holiday.Holiday
Packages that use Holiday
-
Uses of Holiday in cloud.opencode.base.date.holiday
Classes in cloud.opencode.base.date.holiday that implement interfaces with type arguments of type HolidayModifier and TypeClassDescriptionfinal classRepresents a holiday with date and metadata 表示带有日期和元数据的假日Methods in cloud.opencode.base.date.holiday that return HolidayModifier and TypeMethodDescriptionHoliday.Builder.build()Builds the Holiday 构建HolidayHolidayCalendar.getHoliday(LocalDate date) Gets the holiday for a date 获取日期的假日static HolidayCreates a simple holiday 创建简单假日static HolidayHoliday.of(LocalDate date, String name, Holiday.HolidayType type) Creates a holiday with type 创建带类型的假日static HolidayHoliday.of(LocalDate date, String name, String chineseName, Holiday.HolidayType type) Creates a holiday with bilingual names 创建双语名称的假日Methods in cloud.opencode.base.date.holiday that return types with arguments of type HolidayModifier and TypeMethodDescriptionHolidayCalendar.findHoliday(LocalDate date) Gets the holiday for a date as Optional 获取日期的假日(Optional形式)HolidayCalendar.getAllHolidays()Gets all holidays 获取所有假日ChinaHolidayCalendar.getHoliday(LocalDate date) Gets the holiday for a date, if any.HolidayProvider.getHoliday(LocalDate date) Gets the holiday for a specific date 获取指定日期的节假日HolidayUtil.getHoliday(LocalDate date) Gets the holiday for a specific date 获取指定日期的节假日ChinaHolidayCalendar.getHolidays(int year) Gets all holidays for a specific year.ChinaHolidayCalendar.getHolidays(LocalDate start, LocalDate end) Gets holidays in a closed-interval date range.HolidayCalendar.getHolidays(int year) Gets holidays for a specific year 获取特定年份的假日HolidayCalendar.getHolidays(int year, Month month) Gets holidays for a specific year and month 获取特定年份和月份的假日HolidayProvider.getHolidays(int year) Gets all holidays for a specific year 获取指定年份的所有节假日HolidayProvider.getHolidays(LocalDate start, LocalDate end) Gets holidays in a date range 获取日期范围内的节假日HolidayUtil.getHolidays(int year) Gets all holidays for a specific year 获取指定年份的所有节假日HolidayUtil.getHolidays(LocalDate start, LocalDate end) Gets holidays in a date range 获取日期范围内的节假日HolidayCalendar.getHolidaysByType(Holiday.HolidayType type) Gets holidays of a specific type 获取特定类型的假日HolidayCalendar.getHolidaysInRange(LocalDate start, LocalDate end) Gets holidays in a date range 获取日期范围内的假日Methods in cloud.opencode.base.date.holiday with parameters of type HolidayModifier and TypeMethodDescriptionHolidayCalendar.Builder.addHoliday(Holiday holiday) Adds a holiday 添加假日intMethod parameters in cloud.opencode.base.date.holiday with type arguments of type HolidayModifier and TypeMethodDescriptionHolidayCalendar.Builder.addHolidays(Collection<Holiday> holidays) Adds multiple holidays 添加多个假日static HolidayCalendarHolidayCalendar.of(Collection<Holiday> holidays) Creates a calendar from a collection of holidays 从假日集合创建日历