public DateTimeZoneBuilder addRecurringSavings ( String nameKey , int saveMillis , int fromYear , int toYear , char mode , int monthOfYear , int dayOfMonth , int dayOfWeek , boolean advanceDayOfWeek , int millisOfDay ) { if ( fromYear <= toYear ) { OfYear ofYear = new OfYear ( mode , monthOfYear , dayOfMonth , dayOfWeek , advanceDayOfWeek , millisOfDay ) ; Recurrence recurrence = new Recurrence ( ofYear , nameKey , saveMillis ) ; Rule rule = new Rule ( recurrence , fromYear , toYear ) ; getLastRuleSet ( ) . addRule ( rule ) ; } return this ; }
Add a recurring daylight saving time rule .