|
|
@@ -207,6 +207,10 @@ public class ScreenUtil {
|
|
|
+ quarterStart(-1).plusMonths(2).with(TemporalAdjusters.lastDayOfMonth()).format(DateTimeFormatter.ofPattern("yyyy-MM-dd"));
|
|
|
formatValue = "";
|
|
|
break;
|
|
|
+ case "halfyear" :
|
|
|
+ formatValue = localDate.plusMonths(-6).format(DateTimeFormatter.ofPattern("yyyy-MM-dd")) + ","
|
|
|
+ + localDate.format(DateTimeFormatter.ofPattern("yyyy-MM-dd"));
|
|
|
+ break;
|
|
|
case "year" :
|
|
|
formatValue = localDate.plusYears(0).with(TemporalAdjusters.firstDayOfYear()).format(DateTimeFormatter.ofPattern("yyyy-MM-dd")) + ","
|
|
|
+ localDate.plusWeeks(0).with(TemporalAdjusters.firstDayOfYear()).format(DateTimeFormatter.ofPattern("yyyy-MM-dd"));
|