Package | Description |
---|---|
com.codelanx.codelanxlib.util |
Modifier and Type | Method and Description |
---|---|
static TimeUtil.TimePoint |
TimeUtil.TimePoint.findClosestAndWipe(TreeSet<? extends TimeUtil.TimePoint> points,
TimeUtil.TimePoint now)
This is a helper method to find the closest
TimeUtil.TimePoint in a
collection that is still of a greater value than the passed
TimeUtil.TimePoint . |
TimeUtil.TimePoint |
TimeUtil.TimePoint.getNext() |
TimeUtil.TimePoint |
TimeUtil.TimePoint.getNextNonZero() |
TimeUtil.TimePoint |
TimeUtil.TimePoint.getPoint(TimeUnit unit) |
TimeUtil.TimePoint |
TimeUtil.TimePoint.setNext(TimeUtil.TimePoint next) |
Modifier and Type | Method and Description |
---|---|
TimeUtil.Countdown |
TimeUtil.Countdown.announceAt(TimeUtil.TimePoint point) |
int |
TimeUtil.TimePoint.compareTo(TimeUtil.TimePoint o) |
static TimeUtil.TimePoint |
TimeUtil.TimePoint.findClosestAndWipe(TreeSet<? extends TimeUtil.TimePoint> points,
TimeUtil.TimePoint now)
This is a helper method to find the closest
TimeUtil.TimePoint in a
collection that is still of a greater value than the passed
TimeUtil.TimePoint . |
static String |
TimeUtil.formatTime(TimeUtil.TimePoint point)
Formats time in a readable output.
|
static String |
TimeUtil.formatTime(TimeUtil.TimePoint point,
TimeUnit min)
Formats time in a readable output.
|
TimeUtil.TimePoint |
TimeUtil.TimePoint.setNext(TimeUtil.TimePoint next) |
Modifier and Type | Method and Description |
---|---|
static TimeUtil.TimePoint |
TimeUtil.TimePoint.findClosestAndWipe(TreeSet<? extends TimeUtil.TimePoint> points,
TimeUtil.TimePoint now)
This is a helper method to find the closest
TimeUtil.TimePoint in a
collection that is still of a greater value than the passed
TimeUtil.TimePoint . |
Constructor and Description |
---|
TimePoint(long time,
TimeUnit unit,
TimeUtil.TimePoint next) |
Copyright © 2015. All rights reserved.