public DateUnit set ( ) { if ( this . set . isPresent ( ) ) { return set . get ( ) ; } return ( this . set = Optional . of ( ( DateUnit ) new DateUnit ( this ) { @ Override protected DateUnit handle ( int calendarField , int amount ) { Calendar c = asCalendar ( ) ; c . set ( calendarField , amount ) ; target = c . getTime ( ) ; return this ; } } ) ) . get ( ) ; }
Returns a AddsOrSets instance that set the specified field to a delegate date