Codota Logo
Configuration.getHolidays
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
DateTime d =
  • Codota Iconnew DateTime()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseDateTime(text)
  • Codota IconObject instant;new DateTime(instant)
  • Smart code suggestions by Codota
}
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

  • Making http requests using okhttp
  • getApplicationContext (Context)
  • getExternalFilesDir (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Kernel (java.awt.image)
  • PrintWriter (java.io)
    Prints formatted representations of objects to a text-output stream. This class implements all of th
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Runner (org.openjdk.jmh.runner)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now