- All Implemented Interfaces:
Serializable,Iterable<DateTime>
日期范围
- Since:
- Java 17+
- Author:
- Kimi Liu
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.miaixz.bus.core.lang.range.Range
Range.Stepper<T> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
Boundary
构造,包含开始和结束日期时间- Parameters:
start- 起始日期时间(包括)end- 结束日期时间(包括)unit- 步进单位
-
Boundary
构造,包含开始和结束日期时间- Parameters:
start- 起始日期时间(包括)end- 结束日期时间(包括)unit- 步进单位step- 步进数
-
Boundary
public Boundary(Date start, Date end, Various unit, int step, boolean isIncludeStart, boolean isIncludeEnd) 构造- Parameters:
start- 起始日期时间end- 结束日期时间unit- 步进单位step- 步进数isIncludeStart- 是否包含开始的时间isIncludeEnd- 是否包含结束的时间
-