@InterfaceAudience.Private public class CurrentHourProvider extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
CurrentHourProvider.Tick |
Modifier and Type | Field and Description |
---|---|
private static CurrentHourProvider.Tick |
tick |
Modifier | Constructor and Description |
---|---|
private |
CurrentHourProvider() |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
advanceTick() |
static int |
getCurrentHour() |
private static void |
moveToNextHour(Calendar calendar) |
private static CurrentHourProvider.Tick |
nextTick() |
private static volatile CurrentHourProvider.Tick tick
private CurrentHourProvider()
private static CurrentHourProvider.Tick nextTick()
private static void moveToNextHour(Calendar calendar)
public static int getCurrentHour()
static void advanceTick()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.