Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JingsongLi committed Oct 17, 2023
1 parent 8058ef1 commit cc33430
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public LocalDateTime nextTagTime(LocalDateTime time) {
/** Hourly {@link TagPeriodHandler}. */
class HourlyTagPeriodHandler extends BaseTagPeriodHandler {

final Duration ONE_PERIOD = Duration.ofHours(1);
static final Duration ONE_PERIOD = Duration.ofHours(1);

@Override
protected Duration onePeriod() {
Expand All @@ -127,7 +127,7 @@ protected DateTimeFormatter formatter() {
/** Daily {@link TagPeriodHandler}. */
class DailyTagPeriodHandler extends BaseTagPeriodHandler {

final Duration ONE_PERIOD = Duration.ofDays(1);
static final Duration ONE_PERIOD = Duration.ofDays(1);

@Override
protected Duration onePeriod() {
Expand All @@ -148,7 +148,7 @@ public LocalDateTime tagToTime(String tag) {
/** Two Hours {@link TagPeriodHandler}. */
class TwoHoursTagPeriodHandler extends BaseTagPeriodHandler {

final Duration ONE_PERIOD = Duration.ofHours(2);
static final Duration ONE_PERIOD = Duration.ofHours(2);

@Override
protected Duration onePeriod() {
Expand Down

0 comments on commit cc33430

Please sign in to comment.