private void tryRegisterJava8 ( ) { try { tryRegister ( "java.time.Instant" , "parse" ) ; tryRegister ( "java.time.Duration" , "parse" ) ; tryRegister ( "java.time.LocalDate" , "parse" ) ; tryRegister ( "java.time.LocalTime" , "parse" ) ; tryRegister ( "java.time.LocalDateTime" , "parse" ) ; tryRegister ( "java.time.OffsetTime" , "parse" ) ; tryRegister ( "java.time.OffsetDateTime" , "parse" ) ; tryRegister ( "java.time.ZonedDateTime" , "parse" ) ; tryRegister ( "java.time.Year" , "parse" ) ; tryRegister ( "java.time.YearMonth" , "parse" ) ; tryRegister ( "java.time.MonthDay" , "parse" ) ; tryRegister ( "java.time.Period" , "parse" ) ; tryRegister ( "java.time.ZoneOffset" , "of" ) ; tryRegister ( "java.time.ZoneId" , "of" ) ; tryRegister ( "java.time.ZoneRegion" , "of" ) ; } catch ( Throwable ex ) { if ( LOG ) { System . err . println ( "tryRegisterJava8: " + ex ) ; } } }
Tries to register Java 8 classes .