Codota Logo
RelativeDayOfWeekRule
Code IndexAdd Codota to your IDE (free)

How to use
RelativeDayOfWeekRule
in
org.jfree.date

Best Java code snippets using org.jfree.date.RelativeDayOfWeekRule (Showing top 3 results out of 315)

  • Common ways to obtain RelativeDayOfWeekRule
private void myMethod () {
RelativeDayOfWeekRule r =
  • Codota IconAnnualDateRule annualDateRule;(RelativeDayOfWeekRule) annualDateRule.clone()
  • Smart code suggestions by Codota
}
origin: jfree/jcommon

/**
 * Creates a clone of this rule.
 *
 * @return a clone of this rule.
 *
 * @throws CloneNotSupportedException this should never happen.
 */
public Object clone() throws CloneNotSupportedException {
  final RelativeDayOfWeekRule duplicate 
    = (RelativeDayOfWeekRule) super.clone();
  duplicate.subrule = (AnnualDateRule) duplicate.getSubrule().clone();
  return duplicate;
}
origin: org.jfree/jcommon

/**
 * Creates a clone of this rule.
 *
 * @return a clone of this rule.
 *
 * @throws CloneNotSupportedException this should never happen.
 */
public Object clone() throws CloneNotSupportedException {
  final RelativeDayOfWeekRule duplicate 
    = (RelativeDayOfWeekRule) super.clone();
  duplicate.subrule = (AnnualDateRule) duplicate.getSubrule().clone();
  return duplicate;
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Creates a clone of this rule.
 *
 * @return a clone of this rule.
 *
 * @throws CloneNotSupportedException this should never happen.
 */
public Object clone() throws CloneNotSupportedException {
  final RelativeDayOfWeekRule duplicate 
    = (RelativeDayOfWeekRule) super.clone();
  duplicate.subrule = (AnnualDateRule) duplicate.getSubrule().clone();
  return duplicate;
}
org.jfree.dateRelativeDayOfWeekRule

Javadoc

An annual date rule that returns a date for each year based on (a) a reference rule; (b) a day of the week; and (c) a selection parameter (SerialDate.PRECEDING, SerialDate.NEAREST, SerialDate.FOLLOWING).

For example, Good Friday can be specified as 'the Friday PRECEDING Easter Sunday'.

Most used methods

  • getSubrule
    Returns the sub-rule (also called the reference rule).

Popular in Java

  • Making http post requests using okhttp
  • getContentResolver (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • FileWriter (java.io)
    Convenience class for writing character files. The constructors of this class assume that the defaul
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
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