public DateMidnight toDateMidnight ( DateTimeZone zone ) { Chronology chrono = getChronology ( ) . withZone ( zone ) ; return new DateMidnight ( getYear ( ) , getMonthOfYear ( ) , getDayOfMonth ( ) , chrono ) ; }
Converts this object to a DateMidnight .