Modifier and Type | Field and Description |
---|---|
static long |
HOUR |
static long |
MINUTE |
static long |
SECOND |
Constructor and Description |
---|
HourlyScheduler(long... millisecondsPastHour) |
Modifier and Type | Method and Description |
---|---|
static HourlyScheduler |
fromMinutes(int... minutesPastHour) |
static HourlyScheduler |
fromMinutesPeriod(int firstMinutes,
int periodInMinutes) |
long[] |
getMillisecondsPastHour() |
long |
getNextTime(long fromMillis)
Returns the next time in this schedule after the specified time.
|
String |
toString() |
public static final long SECOND
public static final long MINUTE
public static final long HOUR
public static HourlyScheduler fromMinutesPeriod(int firstMinutes, int periodInMinutes)
public static HourlyScheduler fromMinutes(int... minutesPastHour)
public long[] getMillisecondsPastHour()
public long getNextTime(long fromMillis)
Scheduler
getNextTime
in interface Scheduler
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.