Package | Description |
---|---|
com.codelanx.codelanxlib.util.time |
Modifier and Type | Method and Description |
---|---|
static TimePoint |
TimePoint.findClosestAndWipe(TreeSet<? extends TimePoint> points,
TimePoint now)
|
TimePoint |
TimePoint.getNext()
Returns the next
TimePoint for this measure of time. |
TimePoint |
TimePoint.getNextNonZero()
Returns the next non-zero
TimePoint that can be found, or
null if there are no proceeding points of measure that are
non-null and non-zero |
TimePoint |
TimePoint.getPoint(TimeUnit unit)
|
static TimePoint |
TimePoint.getTimePoint(long diff)
Absolutely disgusting method of retrieving the largest non-zero times
difference in a nanosecond period.
|
Modifier and Type | Method and Description |
---|---|
Countdown |
Countdown.announceAt(TimePoint point)
Notes to make a chat-based announcement at the specified time in the
countdown
|
int |
TimePoint.compareTo(TimePoint o) |
static TimePoint |
TimePoint.findClosestAndWipe(TreeSet<? extends TimePoint> points,
TimePoint now)
|
static String |
TimeUtil.formatTime(TimePoint point)
Formats time in a readable output.
|
static String |
TimeUtil.formatTime(TimePoint point,
TimeUnit min)
Formats time in a readable output.
|
Modifier and Type | Method and Description |
---|---|
static TimePoint |
TimePoint.findClosestAndWipe(TreeSet<? extends TimePoint> points,
TimePoint now)
|
Constructor and Description |
---|
TimePoint(long time,
TimeUnit unit,
TimePoint next)
Constructs a new
TimePoint |
Copyright © 2015. All rights reserved.