Tabnine Logo
SerialDateUtilities
Code IndexAdd Tabnine to your IDE (free)

How to use
SerialDateUtilities
in
org.jfree.date

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

origin: jfree/jcommon

y1 = start.getYYYY();
if (SerialDateUtilities.isLastDayOfFebruary(start)) {
  d1 = 30;
if ((d1 == 31) || SerialDateUtilities.isLastDayOfFebruary(start)) {
return -dayCount30PSA(end, start);
origin: jfree/jcommon

return -dayCount30(end, start);
origin: org.jfree/jcommon

return countFeb29s(end, start);
origin: org.jfree/jcommon

return -dayCount30ISDA(end, start);
origin: jfree/jcommon

return -dayCount30E(end, start);
origin: org.jfree/jcommon

return -dayCount30(end, start);
origin: jfree/jcommon

return countFeb29s(end, start);
origin: jfree/jcommon

return -dayCount30ISDA(end, start);
origin: org.jfree/jcommon

return -dayCount30E(end, start);
origin: org.jfree/jcommon

y1 = start.getYYYY();
if (SerialDateUtilities.isLastDayOfFebruary(start)) {
  d1 = 30;
if ((d1 == 31) || SerialDateUtilities.isLastDayOfFebruary(start)) {
return -dayCount30PSA(end, start);
origin: org.jfree/com.springsource.org.jfree

return -dayCount30(end, start);
origin: org.jfree/com.springsource.org.jfree

return countFeb29s(end, start);
origin: org.jfree/com.springsource.org.jfree

return -dayCount30ISDA(end, start);
origin: org.jfree/com.springsource.org.jfree

return -dayCount30E(end, start);
origin: org.jfree/com.springsource.org.jfree

y1 = start.getYYYY();
if (SerialDateUtilities.isLastDayOfFebruary(start)) {
  d1 = 30;
if ((d1 == 31) || SerialDateUtilities.isLastDayOfFebruary(start)) {
return -dayCount30PSA(end, start);
org.jfree.dateSerialDateUtilities

Javadoc

A utility class that provides a number of useful methods (some static). Many of these are used in the implementation of the day-count convention classes. I recognise some limitations in this implementation:

[1] some of the methods assume that the default Calendar is a GregorianCalendar (used mostly to determine leap years) - so the code won’t work if some other Calendar is the default. I'm not sure how to handle this properly?

[2] a whole bunch of static methods isn't very object-oriented - but I couldn't think of a good way to extend the Date and Calendar classes to add the functions I required, so static methods are doing the job for now.

Most used methods

  • countFeb29s
    Returns the number of times that February 29 falls within the specified date range. The result needs
  • dayCount30
    Returns the number of days between the specified start and end dates, assuming that there are thirty
  • dayCount30E
    Returns the number of days between the specified start and end dates, assuming that there are thirty
  • dayCount30ISDA
    Returns the number of days between the specified start and end dates, assuming that there are thirty
  • dayCount30PSA
    Returns the number of days between the specified start and end dates, assuming that there are thirty
  • isLastDayOfFebruary
    Returns true if the specified date is the last day in February (that is, the 28th in non-leap years,

Popular in Java

  • Finding current android device location
  • findViewById (Activity)
  • runOnUiThread (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • 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
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Kernel (java.awt.image)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Join (org.hibernate.mapping)
  • PhpStorm for WordPress
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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