feat: 新增将日期区间转为日期时间区间的方法 #64
@@ -649,7 +649,7 @@ public class DateTimeTools {
|
||||
// ================================
|
||||
|
||||
// ================================
|
||||
// #region - others
|
||||
// #region - range
|
||||
// ================================
|
||||
|
||||
/**
|
||||
@@ -711,6 +711,14 @@ public class DateTimeTools {
|
||||
return Range.closedOpen(lowerEndpoint, upperEndpoint);
|
||||
}
|
||||
|
||||
// ================================
|
||||
// #endregion - range
|
||||
// ================================
|
||||
|
||||
// ================================
|
||||
// #region - others
|
||||
// ================================
|
||||
|
||||
/**
|
||||
* 判断指定年份是否为闰年
|
||||
*
|
||||
|
||||
@@ -374,7 +374,7 @@ class DateTimeToolsTests {
|
||||
// ================================
|
||||
|
||||
// ================================
|
||||
// #region - others
|
||||
// #region - range
|
||||
// ================================
|
||||
|
||||
@Test
|
||||
@@ -481,7 +481,7 @@ class DateTimeToolsTests {
|
||||
}
|
||||
|
||||
// ================================
|
||||
// #endregion - others
|
||||
// #endregion - range
|
||||
// ================================
|
||||
|
||||
// ================================
|
||||
|
||||
Reference in New Issue
Block a user