@Test public void testIsMax() { Assert.assertFalse(Deadline.fromUnixMilliseconds(0).isMax()); Assert.assertFalse(Deadline.fromUnixMilliseconds(1000).isMax()); Assert.assertFalse(Deadline.MIN_VALUE.isMax()); Assert.assertTrue(Deadline.MAX_VALUE.isMax()); }
public boolean isMax() { return value == INTERNAL_MAX_VALUE; }
Deadline { public boolean isMax() { return value == INTERNAL_MAX_VALUE; } }
Deadline { public boolean isMax() { return value == INTERNAL_MAX_VALUE; } private  Deadline(final long deadlineMillis); }
Deadline { public boolean isMax() { return value == INTERNAL_MAX_VALUE; } private  Deadline(final long deadlineMillis); static Deadline calculate(final long timeMillis, final TimeValue timeValue); static Deadline calculate(final TimeValue timeValue); static Deadline fromUnixMilliseconds(final long value); static Deadline parse(final String source); @Override boolean equals(final Object obj); String format(final TimeUnit overdueTimeUnit); String formatTarget(); Deadline freeze(); long getValue(); @Override int hashCode(); boolean isBefore(final long millis); boolean isExpired(); boolean isMax(); boolean isMin(); boolean isNotExpired(); Deadline min(final Deadline other); long remaining(); TimeValue remainingTimeValue(); @Override String toString(); }
Deadline { public boolean isMax() { return value == INTERNAL_MAX_VALUE; } private  Deadline(final long deadlineMillis); static Deadline calculate(final long timeMillis, final TimeValue timeValue); static Deadline calculate(final TimeValue timeValue); static Deadline fromUnixMilliseconds(final long value); static Deadline parse(final String source); @Override boolean equals(final Object obj); String format(final TimeUnit overdueTimeUnit); String formatTarget(); Deadline freeze(); long getValue(); @Override int hashCode(); boolean isBefore(final long millis); boolean isExpired(); boolean isMax(); boolean isMin(); boolean isNotExpired(); Deadline min(final Deadline other); long remaining(); TimeValue remainingTimeValue(); @Override String toString(); static final String DATE_FORMAT; static Deadline MAX_VALUE; static Deadline MIN_VALUE; }