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

Method min

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

Source from the content-addressed store, hash-verified

236
237 // 获取两个日期中的最小日期
238 public static Date min(Date beginDate, Date endDate) {
239 if (beginDate == null) {
240 return endDate;
241 }
242 if (endDate == null) {
243 return beginDate;
244 }
245 if (beginDate.after(endDate)) {
246 return endDate;
247 }
248 return beginDate;
249 }
250
251 // 返回某月该季度的第一个月
252 public static Date getFirstSeasonDate(Date date) {

Callers 15

swagger-ui.jsFile · 0.80
utf8SliceFunction · 0.80
asciiSliceFunction · 0.80
latin1SliceFunction · 0.80
objectWriteUInt16Function · 0.80
objectWriteUInt32Function · 0.80
binarySliceFunction · 0.80
writeScalarFunction · 0.80
TFunction · 0.80
IFunction · 0.80
DFunction · 0.80
PFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected