feat: 新增将日期区间转为日期时间区间的方法 #64

Merged
zhouxy108 merged 2 commits from zhouxy108/plusone-commons:feature/DateRangeToDateTimeRange into dev 2025-09-03 21:08:51 +08:00
2 changed files with 141 additions and 26 deletions
Showing only changes of commit 7758e78ff7 - Show all commits

View File

@@ -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
// ================================
/**
* 判断指定年份是否为闰年
*

View File

@@ -374,7 +374,7 @@ class DateTimeToolsTests {
// ================================
// ================================
// #region - others
// #region - range
// ================================
@Test
@@ -481,7 +481,7 @@ class DateTimeToolsTests {
}
// ================================
// #endregion - others
// #endregion - range
// ================================
// ================================