Uses of Class
cloud.opencode.base.date.extra.LocalDateRange
Packages that use LocalDateRange
Package
Description
-
Uses of LocalDateRange in cloud.opencode.base.date
Methods in cloud.opencode.base.date that return LocalDateRangeModifier and TypeMethodDescriptionstatic LocalDateRangeCreates a LocalDateRange 创建LocalDateRangestatic LocalDateRangeCreates a LocalDateRange from start to end 创建从开始到结束的LocalDateRange -
Uses of LocalDateRange in cloud.opencode.base.date.extra
Methods in cloud.opencode.base.date.extra that return LocalDateRangeModifier and TypeMethodDescriptionstatic LocalDateRangeLocalDateRange.empty()Creates an empty LocalDateRange 创建空的LocalDateRangestatic LocalDateRangeCreates a LocalDateRange from start and end dates (both inclusive) 从起始和结束日期创建LocalDateRange(两端包含)static LocalDateRangeLocalDateRange.ofExclusive(LocalDate start, LocalDate endExclusive) Creates a LocalDateRange from start and end dates (end exclusive) 从起始和结束日期创建LocalDateRange(结束不包含)static LocalDateRangeLocalDateRange.parse(CharSequence text) Parses a string to LocalDateRange 解析字符串为LocalDateRangeLocalDateRange.span(LocalDateRange other) Gets the span (union) of this range with the specified range 获取此范围与指定范围的跨度(并集)Interval.toLocalDateRange(ZoneId zone) Converts this interval to a LocalDateRange using the specified zone 使用指定时区将此区间转换为LocalDateRangeLocalDateTimeRange.toLocalDateRange()Converts this range to a LocalDateRange 将此范围转换为LocalDateRangeMethods in cloud.opencode.base.date.extra that return types with arguments of type LocalDateRangeModifier and TypeMethodDescriptionLocalDateRange.intersection(LocalDateRange other) Gets the intersection of this range with the specified range 获取此范围与指定范围的交集LocalDateRange.splitByMonth()Splits this range by month 按月分割此范围LocalDateRange.splitByWeek()Splits this range by week (Monday to Sunday) 按周分割此范围(周一到周日)Methods in cloud.opencode.base.date.extra with parameters of type LocalDateRangeModifier and TypeMethodDescriptionbooleanLocalDateRange.encloses(LocalDateRange other) Checks if this range encloses (fully contains) the specified range 检查此范围是否包围(完全包含)指定范围LocalDateRange.intersection(LocalDateRange other) Gets the intersection of this range with the specified range 获取此范围与指定范围的交集booleanLocalDateRange.isConnected(LocalDateRange other) Checks if this range is connected (adjacent or overlapping) with the specified range 检查此范围是否与指定范围相连(相邻或重叠)booleanLocalDateRange.overlaps(LocalDateRange other) Checks if this range overlaps with the specified range 检查此范围是否与指定范围重叠LocalDateRange.span(LocalDateRange other) Gets the span (union) of this range with the specified range 获取此范围与指定范围的跨度(并集) -
Uses of LocalDateRange in cloud.opencode.base.date.range
Methods in cloud.opencode.base.date.range that return LocalDateRangeModifier and TypeMethodDescriptionDateRange.toLocalDateRange()Deprecated.Converts to LocalDateRange 转换为LocalDateRangeMethods in cloud.opencode.base.date.range with parameters of type LocalDateRangeModifier and TypeMethodDescriptionstatic DateRangeDateRange.from(LocalDateRange range) Deprecated.Creates a DateRange from a LocalDateRange 从LocalDateRange创建DateRange