Tabnine Logo
Configuration.getHolidays
Code IndexAdd Tabnine to your IDE (free)

How to use
getHolidays
method
in
de.jollyday.config.Configuration

Best Java code snippets using de.jollyday.config.Configuration.getHolidays (Showing top 4 results out of 315)

origin: stanfordnlp/CoreNLP

public static void getAllHolidays(Configuration config, Set<de.jollyday.config.Holiday> allHolidays) {
 Holidays holidays = config.getHolidays();
 getAllHolidays(holidays, allHolidays);
 List<Configuration> subConfigs = config.getSubConfigurations();
 for (Configuration c:subConfigs) {
  getAllHolidays(c, allHolidays);
 }
}
origin: edu.stanford.nlp/stanford-corenlp

public static void getAllHolidays(Configuration config, Set<de.jollyday.config.Holiday> allHolidays) {
 Holidays holidays = config.getHolidays();
 getAllHolidays(holidays, allHolidays);
 List<Configuration> subConfigs = config.getSubConfigurations();
 for (Configuration c:subConfigs) {
  getAllHolidays(c, allHolidays);
 }
}
origin: com.guokr/stan-cn-com

public static void getAllHolidays(Configuration config, Set<de.jollyday.config.Holiday> allHolidays)
{
 Holidays holidays = config.getHolidays();
 getAllHolidays(holidays, allHolidays);
 List<Configuration> subConfigs = config.getSubConfigurations();
 for (Configuration c:subConfigs) {
  getAllHolidays(c, allHolidays);
 }
}
origin: de.jollyday/jollyday

/**
 * Parses the provided configuration for the provided year and fills the
 * list of holidays.
 *
 * @param year the year to get the holidays for
 * @param c the holiday configuration
 * @param holidaySet the set of holidays
 * @param args the arguments to descend down the configuration tree
 */
private void getHolidays(int year, final Configuration c, Set<Holiday> holidaySet, final String... args) {
  if (LOG.isLoggable(Level.FINER)) {
    LOG.finer("Adding holidays for " + c.getDescription());
  }
  parseHolidays(year, holidaySet, c.getHolidays());
  if (args != null && args.length > 0) {
    String hierarchy = args[0];
    for (Configuration config : c.getSubConfigurations()) {
      if (hierarchy.equalsIgnoreCase(config.getHierarchy())) {
        getHolidays(year, config, holidaySet, copyOfRange(args, 1, args.length));
        break;
      }
    }
  }
}
de.jollyday.configConfigurationgetHolidays

Javadoc

Ruft den Wert der holidays-Eigenschaft ab.

Popular methods of Configuration

  • getSubConfigurations
    Gets the value of the subConfigurations property. This accessor method returns a reference to the li
  • <init>
  • getDescription
    Ruft den Wert der description-Eigenschaft ab.
  • getHierarchy
    Ruft den Wert der hierarchy-Eigenschaft ab.

Popular in Java

  • Creating JSON documents from java classes using gson
  • getSharedPreferences (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • findViewById (Activity)
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • JPanel (javax.swing)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now