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

Method floorModulo

base/src/main/java/net/time4j/base/MathUtils.java:486–493  ·  view source on GitHub ↗
(
        int value,
        int divisor
    )

Source from the content-addressed store, hash-verified

484 * @return remainder of division (never negative if divisor is positive)
485 */
486 public static int floorModulo(
487 int value,
488 int divisor
489 ) {
490
491 return (value - divisor * (floorDivide(value, divisor)));
492
493 }
494
495 /**
496 * <p>See {@link #floorModulo(int, int)}. </p>

Callers 15

plusLongMaxHoursMethod · 0.95
plusLongMinHoursMethod · 0.95
translateMethod · 0.95
translateMethod · 0.95
fromMethod · 0.95
getDayOfWeekMethod · 0.95
atStartOfDayMethod · 0.95
fromEpochMonthsMethod · 0.95
fromMethod · 0.95
doAddMethod · 0.95
withValueMethod · 0.95

Calls 1

floorDivideMethod · 0.95

Tested by 2

plusLongMaxHoursMethod · 0.76
plusLongMinHoursMethod · 0.76