RFR: JDK-8142936:Additional java.time.Duration methods

nadeesh tv nadeesh.tv at oracle.com
Thu Nov 26 06:41:41 UTC 2015

Hi all,

Please review a fix for

Bug Id - https://bugs.openjdk.java.net/browse/JDK-8142936 

  -Enhance Duration by adding toNanosPart() , 
toMillisPart(),toSecondsPart(),toMinutesPart(),toHoursPart(),toDaysPart() methods 
  - Had to rename  private    BigDecimal toSeconds() ->    private 
BigDecimal toBigDecimalSeconds()

webrev - http://cr.openjdk.java.net/~ntv/8142936/webrev.01/ 

Thanks and Regards,
Nadeesh TV

More information about the core-libs-dev mailing list