【文件属性】:
文件名称:time-point:用于LocalDate的瘦Java包装器
文件大小:30KB
文件格式:ZIP
更新时间:2021-05-17 14:15:46
Java
时间点
用于localDate的薄包装器。
在此,使用TimePoint界面将时间表示为一天的精度。 这进一步用于实现以天为单位的时间范围。 然后可以查询相同的范围,以了解一个TimePoint是否属于给定的时间范围
用法
请参阅以下测试:
private static TimePoint timePoint;
@BeforeAll
public static void setUp() throws Exception {
timePoint = new SimpleDate ( 2018 , 5 , 12 );
}
@Test
public void addition() throws Exception {
// assertEquals(timePoint.addDays(5),new SimpleDate
【文件预览】:
time-point-master
----.travis.yml(124B)
----pom.xml(24KB)
----config()
--------changelog.mustache(2KB)
--------code_style.xml(3KB)
--------checkstyle.xml(7KB)
----src()
--------test()
--------main()
----LICENSE.md(7KB)
----.gitignore(1KB)
----CHANGELOG.md(218B)
----README.md(5KB)