public class YearGuesser extends Object
| Constructor and Description | 
|---|
| YearGuesser() | 
| Modifier and Type | Method and Description | 
|---|---|
| static java.time.LocalDateTime | guessYearForDate(java.time.LocalDateTime dateWithoutYear) | 
| static java.time.LocalDateTime | guessYearForDate(java.time.LocalDateTime dateWithoutYear,
                java.time.LocalDateTime referenceDateTime)We try to guess the missing year for the given dateWithoutYear by assigning the year which brings the
 dateWithoutYear closest (smallest time gap) to the referenceDateTime. | 
public static java.time.LocalDateTime guessYearForDate(java.time.LocalDateTime dateWithoutYear,
                                                       java.time.LocalDateTime referenceDateTime)
public static java.time.LocalDateTime guessYearForDate(java.time.LocalDateTime dateWithoutYear)
Copyright © 2021. All rights reserved.