MCPcopy
hub / github.com/Exrick/xpay / max

Method max

xpay-code/src/main/java/cn/exrick/common/utils/DateUtils.java:224–235  ·  view source on GitHub ↗
(Date beginDate, Date endDate)

Source from the content-addressed store, hash-verified

222
223 // 获取两个日期中的最大日期
224 public static Date max(Date beginDate, Date endDate) {
225 if (beginDate == null) {
226 return endDate;
227 }
228 if (endDate == null) {
229 return beginDate;
230 }
231 if (beginDate.after(endDate)) {
232 return beginDate;
233 }
234 return endDate;
235 }
236
237 // 获取两个日期中的最小日期
238 public static Date min(Date beginDate, Date endDate) {

Callers 15

swagger-ui.jsFile · 0.80
StateFunction · 0.80
writeScalarFunction · 0.80
swagger-ui.min.jsFile · 0.80
aFunction · 0.80
dFunction · 0.80
jsoneditor.min.jsFile · 0.80
bFunction · 0.80
sFunction · 0.80
oFunction · 0.80
tFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected