public static GsonBuilder registerAll ( GsonBuilder builder ) { if ( builder == null ) { throw new NullPointerException ( "builder cannot be null" ) ; } registerDateMidnight ( builder ) ; registerDateTime ( builder ) ; registerDuration ( builder ) ; registerLocalDate ( builder ) ; registerLocalDateTime ( builder ) ; registerLocalTime ( builder ) ; registerInterval ( builder ) ; registerPeriod ( builder ) ; registerInstant ( builder ) ; registerDateTimeZone ( builder ) ; return builder ; }
Registers all the Joda Time converters .