Uses of Class
cloud.opencode.base.date.extra.Interval
Packages that use Interval
-
Uses of Interval in cloud.opencode.base.date
Methods in cloud.opencode.base.date that return Interval -
Uses of Interval in cloud.opencode.base.date.extra
Methods in cloud.opencode.base.date.extra that return IntervalModifier and TypeMethodDescriptionstatic IntervalCreates an empty Interval at the specified instant 在指定时刻创建空IntervalExpands this interval by the specified duration on both ends 在两端扩展此区间指定的时长static IntervalCreates an Interval from end Instant and Duration 从结束Instant和时长创建Intervalstatic IntervalCreates an Interval from start Instant and Duration 从起始Instant和时长创建Intervalstatic IntervalCreates an Interval from start and end Instants 从起始和结束Instant创建Intervalstatic IntervalInterval.parse(CharSequence text) Parses an ISO 8601 interval string 解析ISO 8601区间字符串LocalDateTimeRange.toInterval(ZoneId zone) Converts this range to an Interval using the specified zone 使用指定时区将此范围转换为IntervalGets the union of this interval with the specified interval 获取此区间与指定区间的并集Creates a new interval with a different end 创建具有不同结束的新区间Creates a new interval with a different start 创建具有不同起始的新区间Methods in cloud.opencode.base.date.extra that return types with arguments of type IntervalModifier and TypeMethodDescriptionGets the gap between this interval and the specified interval 获取此区间与指定区间之间的间隙Interval.intersection(Interval other) Gets the intersection of this interval with the specified interval 获取此区间与指定区间的交集Methods in cloud.opencode.base.date.extra with parameters of type IntervalModifier and TypeMethodDescriptionbooleanChecks if this interval abuts (is adjacent to) the specified interval 检查此区间是否与指定区间相邻booleanChecks if this interval encloses (fully contains) the specified interval 检查此区间是否包围(完全包含)指定区间Gets the gap between this interval and the specified interval 获取此区间与指定区间之间的间隙Interval.intersection(Interval other) Gets the intersection of this interval with the specified interval 获取此区间与指定区间的交集booleanChecks if this interval is after the specified interval 检查此区间是否在指定区间之后booleanChecks if this interval is before the specified interval 检查此区间是否在指定区间之前booleanChecks if this interval overlaps with the specified interval 检查此区间是否与指定区间重叠Gets the union of this interval with the specified interval 获取此区间与指定区间的并集