Coverage Report - de.jollyday.parser.HolidayParser
 
Classes in this File Line Coverage Branch Coverage Complexity
HolidayParser
N/A
N/A
1
 
 1  
 
 2  
 /**
 3  
  * Copyright 2010 Sven Diedrichsen
 4  
  *
 5  
  * Licensed under the Apache License, Version 2.0 (the "License");
 6  
  * you may not use this file except in compliance with the License.
 7  
  * You may obtain a copy of the License at
 8  
  *
 9  
  * http://www.apache.org/licenses/LICENSE-2.0
 10  
  *
 11  
  * Unless required by applicable law or agreed to in writing, software
 12  
  * distributed under the License is distributed on an
 13  
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
 14  
  * express or implied. See the License for the specific language
 15  
  * governing permissions and limitations under the License.
 16  
  *
 17  
  * @author sven
 18  
  * @version $Id: $
 19  
  */
 20  
 package de.jollyday.parser;
 21  
 
 22  
 import de.jollyday.Holiday;
 23  
 import de.jollyday.config.Holidays;
 24  
 
 25  
 import java.util.Set;
 26  
 
 27  
 public interface HolidayParser {
 28  
         /**
 29  
          * Parses for the provided year using the {@link Holidays} config and adds
 30  
          * to the set of holidays.
 31  
          *
 32  
          * @param year the year to parse the holiday for
 33  
          * @param holidays set to add the holiday to
 34  
          * @param config the {@link Holidays} config to use for parsing
 35  
          */
 36  
         void parse(int year, Set<Holiday> holidays, Holidays config);
 37  
 }