@Singleton public class TimeProvider extends Object
Constructor and Description |
---|
TimeProvider() |
Modifier and Type | Method and Description |
---|---|
LocalDate |
getCurrentDate() |
LocalDateTime |
getCurrentTime() |
int |
getCurrentYear() |
public int getCurrentYear()
public LocalDateTime getCurrentTime()
public LocalDate getCurrentDate()
Copyright © 2020. All rights reserved.