MCPcopy Create free account
hub / github.com/afkT/DevUtils / getDay

Method getDay

lib/DevApp/src/main/java/dev/utils/common/DateUtils.java:597–600  ·  view source on GitHub ↗

获取天数 @param calendar Calendar @return 天数

(final Calendar calendar)

Source from the content-addressed store, hash-verified

595 * @return 天数
596 */
597 public static int getDay(final Calendar calendar) {
598 if (calendar != null) return calendar.get(Calendar.DAY_OF_MONTH);
599 return -1;
600 }
601
602 // =
603

Callers 2

isDayMethod · 0.95
getMonthDayNumberMethod · 0.95

Calls 3

getCalendarMethod · 0.95
parseLongMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected