Policy
public final class DailyPolicy extends AbstractTimeBasedPolicy
Constructor | Description |
---|---|
DailyPolicy() |
Trigger a rollover every new day.
|
DailyPolicy(int hour,
int minute) |
Trigger the first rollover at the defined time.
|
public DailyPolicy()
public DailyPolicy(int hour, int minute) throws IllegalArgumentException
hour
- Hour of the day (between 0..23)minute
- Minute of the day (between 0..59)IllegalArgumentException
- if time is out of range (00:00 - 23:59)Copyright © 2019. All rights reserved.