@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 |
---|---|
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()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.