MCPcopy Create free account
hub / github.com/MenoData/Time4J / toMJD

Method toMJD

base/src/main/java/net/time4j/base/GregorianMath.java:471–475  ·  view source on GitHub ↗
(GregorianDate date)

Source from the content-addressed store, hash-verified

469 * @see #toMJD(int, int, int)
470 */
471 public static long toMJD(GregorianDate date) {
472
473 return GregorianMath.toMJD(date.getYear(), date.getMonth(), date.getDayOfMonth());
474
475 }
476
477 /**
478 * <p>Calculates the modified Julian date. </p>

Callers 8

MomentClass · 0.95
setYearOfWeekdateMethod · 0.95
transformMethod · 0.95
toPosixMethod · 0.95
toLocalSecondsMethod · 0.95
getOffsetMethod · 0.95
toLocalSecsMethod · 0.95
toMJDMethod · 0.95

Calls 5

checkDateMethod · 0.95
floorDivMethod · 0.80
getYearMethod · 0.65
getMonthMethod · 0.65
getDayOfMonthMethod · 0.65

Tested by

no test coverage detected