public DateTimeZoneBuilder addCutover ( int year , char mode , int monthOfYear , int dayOfMonth , int dayOfWeek , boolean advanceDayOfWeek , int millisOfDay ) { if ( iRuleSets . size ( ) > 0 ) { OfYear ofYear = new OfYear ( mode , monthOfYear , dayOfMonth , dayOfWeek , advanceDayOfWeek , millisOfDay ) ; RuleSet lastRuleSet = iRuleSets . get ( iRuleSets . size ( ) - 1 ) ; lastRuleSet . setUpperLimit ( year , ofYear ) ; } iRuleSets . add ( new RuleSet ( ) ) ; return this ; }
Adds a cutover for added rules . The standard offset at the cutover defaults to 0 . Call setStandardOffset afterwards to change it .