Uses of Class
cloud.opencode.base.date.extra.LocalDateTimeRange
Packages that use LocalDateTimeRange
Package
Description
-
Uses of LocalDateTimeRange in cloud.opencode.base.date
Methods in cloud.opencode.base.date that return LocalDateTimeRangeModifier and TypeMethodDescriptionstatic LocalDateTimeRangeDateTimes.dateTimeRange(LocalDateTime start, LocalDateTime end) Creates a LocalDateTimeRange 创建LocalDateTimeRange -
Uses of LocalDateTimeRange in cloud.opencode.base.date.extra
Methods in cloud.opencode.base.date.extra that return LocalDateTimeRangeModifier and TypeMethodDescriptionstatic LocalDateTimeRangeLocalDateTimeRange.empty(LocalDateTime dateTime) Creates an empty LocalDateTimeRange at the specified datetime 在指定日期时间创建空的LocalDateTimeRangestatic LocalDateTimeRangeLocalDateTimeRange.of(LocalDateTime start, Duration duration) Creates a LocalDateTimeRange from start DateTime and Duration 从起始日期时间和时长创建LocalDateTimeRangestatic LocalDateTimeRangeLocalDateTimeRange.of(LocalDateTime start, LocalDateTime end) Creates a LocalDateTimeRange from start and end DateTimes 从起始和结束日期时间创建LocalDateTimeRangestatic LocalDateTimeRangeCreates a LocalDateTimeRange for an entire day 创建整天的LocalDateTimeRangestatic LocalDateTimeRangeLocalDateTimeRange.parse(CharSequence text) Parses a string to LocalDateTimeRange 解析字符串为LocalDateTimeRangeInterval.toLocalDateTimeRange(ZoneId zone) Converts this interval to a LocalDateTimeRange using the specified zone 使用指定时区将此区间转换为LocalDateTimeRangeLocalDateTimeRange.union(LocalDateTimeRange other) Gets the union of this range with the specified range 获取此范围与指定范围的并集LocalDateTimeRange.withEnd(LocalDateTime end) Creates a new range with a different end 创建具有不同结束的新范围LocalDateTimeRange.withStart(LocalDateTime start) Creates a new range with a different start 创建具有不同起始的新范围Methods in cloud.opencode.base.date.extra that return types with arguments of type LocalDateTimeRangeModifier and TypeMethodDescriptionLocalDateTimeRange.gap(LocalDateTimeRange other) Gets the gap between this range and the specified range 获取此范围与指定范围之间的间隙LocalDateTimeRange.intersection(LocalDateTimeRange other) Gets the intersection of this range with the specified range 获取此范围与指定范围的交集Methods in cloud.opencode.base.date.extra with parameters of type LocalDateTimeRangeModifier and TypeMethodDescriptionbooleanLocalDateTimeRange.abuts(LocalDateTimeRange other) Checks if this range abuts (is adjacent to) the specified range 检查此范围是否与指定范围相邻booleanLocalDateTimeRange.encloses(LocalDateTimeRange other) Checks if this range encloses (fully contains) the specified range 检查此范围是否包围(完全包含)指定范围LocalDateTimeRange.gap(LocalDateTimeRange other) Gets the gap between this range and the specified range 获取此范围与指定范围之间的间隙LocalDateTimeRange.intersection(LocalDateTimeRange other) Gets the intersection of this range with the specified range 获取此范围与指定范围的交集booleanLocalDateTimeRange.isAfter(LocalDateTimeRange other) Checks if this range is after the specified range 检查此范围是否在指定范围之后booleanLocalDateTimeRange.isBefore(LocalDateTimeRange other) Checks if this range is before the specified range 检查此范围是否在指定范围之前booleanLocalDateTimeRange.overlaps(LocalDateTimeRange other) Checks if this range overlaps with the specified range 检查此范围是否与指定范围重叠LocalDateTimeRange.union(LocalDateTimeRange other) Gets the union of this range with the specified range 获取此范围与指定范围的并集 -
Uses of LocalDateTimeRange in cloud.opencode.base.date.range
Methods in cloud.opencode.base.date.range that return LocalDateTimeRangeModifier and TypeMethodDescriptionDateTimeRange.toLocalDateTimeRange()Deprecated.Converts to LocalDateTimeRange 转换为LocalDateTimeRangeMethods in cloud.opencode.base.date.range with parameters of type LocalDateTimeRangeModifier and TypeMethodDescriptionstatic DateTimeRangeDateTimeRange.from(LocalDateTimeRange range) Deprecated.Creates a DateTimeRange from a LocalDateTimeRange 从LocalDateTimeRange创建DateTimeRange