private void tryRegisterThreeTenBackport ( ) { try { tryRegister ( "org.threeten.bp.Instant" , "parse" ) ; tryRegister ( "org.threeten.bp.Duration" , "parse" ) ; tryRegister ( "org.threeten.bp.LocalDate" , "parse" ) ; tryRegister ( "org.threeten.bp.LocalTime" , "parse" ) ; tryRegister ( "org.threeten.bp.LocalDateTime" , "parse" ) ; tryRegister ( "org.threeten.bp.OffsetTime" , "parse" ) ; tryRegister ( "org.threeten.bp.OffsetDateTime" , "parse" ) ; tryRegister ( "org.threeten.bp.ZonedDateTime" , "parse" ) ; tryRegister ( "org.threeten.bp.Year" , "parse" ) ; tryRegister ( "org.threeten.bp.YearMonth" , "parse" ) ; tryRegister ( "org.threeten.bp.MonthDay" , "parse" ) ; tryRegister ( "org.threeten.bp.Period" , "parse" ) ; tryRegister ( "org.threeten.bp.ZoneOffset" , "of" ) ; tryRegister ( "org.threeten.bp.ZoneId" , "of" ) ; tryRegister ( "org.threeten.bp.ZoneRegion" , "of" ) ; } catch ( Throwable ex ) { if ( LOG ) { System . err . println ( "tryRegisterThreeTenBackport: " + ex ) ; } } }
Tries to register ThreeTen backport classes .