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

Method getMinute

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

获取分钟 @param calendar Calendar @return 分钟

(final Calendar calendar)

Source from the content-addressed store, hash-verified

903 * @return 分钟
904 */
905 public static int getMinute(final Calendar calendar) {
906 if (calendar != null) return calendar.get(Calendar.MINUTE);
907 return -1;
908 }
909
910 // =
911

Callers 2

isMinuteMethod · 0.95
getIntervalTimeFolderMethod · 0.95

Calls 3

getCalendarMethod · 0.95
parseLongMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected