## Uses of Class
org.oorexx.datergf.DateRGF

- Packages that use DateRGF
  Package | Description
  --- | ---
  org.oorexx.datergf |

- - ### Uses of DateRGF in org.oorexx.datergf

    Fields in org.oorexx.datergf declared as DateRGF
    Modifier and Type | Field and Description
    --- | ---
    `DateRGF` | DateTimeRGF.`date` DateRGF field to store the date portion.

    Methods in org.oorexx.datergf that return DateRGF
    Modifier and Type | Method and Description
    --- | ---
    `DateRGF` | DateRGF.`add(int numOfDays)` Adds the number of days to this DateRGF.
    `DateRGF` | DateRGF.`assign(DateRGF otherDateRGF)` Assigns all DateRGF fields of `otherDateRGF` to this `DateRGF`.
    `static DateRGF` | DateRGF.`easter(DateRGF date)` Calculate Easter Sunday for the year of the date.
    `static DateRGF` | DateRGF.`easter(int year, int flag)` Calculate the Julian (Orthodox) or Gregorian (Western) Easter Sunday for the given year.
    `static DateRGF` | DateRGF.`fromJulianDate(int julianDate)` Renders a Julian date into a DateRGF.
    `static DateRGF` | DateRGF.`getDefaultEpochDate()` Returns a clone (copy) of the presently defined epoch DateRGF.
    `static DateRGF` | DateRGF.`getGregorianChange()` Returns a clone of the DateRGF object which is set to the first date of the Gregorian calendar.
    `static DateRGF` | DateRGF.`jdn2date(int jdn, DateRGF aDate)` Determines into which calendar a Julian day number of the Julian period falls into (Julian calendar or Gregorian calendar) and calls the appropriate method to set the date accordingly.
    `static DateRGF` | DateRGF.`jdn2date(int jdn, DateRGF aDate, int flag)` Sets the date belonging to the Julian calendar or Graegorian calendar according to the given Julian day number of the Julian period.
    `DateRGF` | DateRGF.`set(int flag, int number)` Allows to set this DateRGF object to a specific date.
    `DateRGF` | DateRGF.`set(int year, int month, int day)` Set all three DateRGF fields at once.
    `static DateRGF` | DateRGF.`setDefaultEpochDate(int value)` Sets the DateRGF which presently serves as the epoch.
    `static DateRGF` | DateRGF.`setGivenWeekday(int weekdays, DateRGF date)` From a given DateRGF calculate the previous or next date, which falls on one of the given weekdays.
    `static DateRGF` | DateRGF.`setGregorianChange(int year, int month, int day)` Allows to set the date on which the usage of the Gregorian calendar starts.
    `DateRGF` | DateRGF.`update()` This method sets the DateRGF object to the actual local date of the system.
    `static DateRGF` | DateRGF.`valueOf(int flag, int daysToAdd)` Creates a DateRGF object by adding days to the given DateRGF (which may be an epoch date indicated by the appropriate constant).
    `static DateRGF` | DateRGF.`valueOf(java.lang.String value)` Create a DateRGF object from a string containing a DateRGF encoded according to the present setting of `dateOrder`.

    Methods in org.oorexx.datergf with parameters of type DateRGF
    Modifier and Type | Method and Description
    --- | ---
    `DateRGF` | DateRGF.`assign(DateRGF otherDateRGF)` Assigns all DateRGF fields of `otherDateRGF` to this `DateRGF`.
    `static int` | DateRGF.`date2jdn(DateRGF aDate)` Determines into which calendar a date falls into and calls the appropriate method to calculate the respective Julian day number of the Julian period.
    `static int` | DateRGF.`daysInMonth(DateRGF date)` Determines the number of days for the date's month.
    `static int` | DateRGF.`dow_ord(DateRGF tmpDate)` Calculates the ordinal value of the day of week (DOW), which is relative to `weekStart`.
    `static int` | DateRGF.`dow(DateRGF tmpDate)` Calculates the day of week (DOW).
    `static DateRGF` | DateRGF.`easter(DateRGF date)` Calculate Easter Sunday for the year of the date.
    `boolean` | DateRGF.`equals(DateRGF otherDateRGF)` Returns true if DateRGFs are equal (both have the same value in the fields `year` `month` `day`).
    `static boolean` | DateRGF.`isLeapYear(DateRGF date)` Determines whether the given DateRGF is a leap year.
    `static int` | DateRGF.`isoWeek(DateRGF date)` Determines into which week of the year the given DateRGF falls into using ISO rules.
    `static DateRGF` | DateRGF.`jdn2date(int jdn, DateRGF aDate)` Determines into which calendar a Julian day number of the Julian period falls into (Julian calendar or Gregorian calendar) and calls the appropriate method to set the date accordingly.
    `static DateRGF` | DateRGF.`jdn2date(int jdn, DateRGF aDate, int flag)` Sets the date belonging to the Julian calendar or Graegorian calendar according to the given Julian day number of the Julian period.
    `static DateRGF` | DateRGF.`setGivenWeekday(int weekdays, DateRGF date)` From a given DateRGF calculate the previous or next date, which falls on one of the given weekdays.
    `int` | DateRGF.`subtract(DateRGF other)` Calculates the differences (in number of days) between two DateRGFs.
    `static int` | DateRGF.`toJulianDate(DateRGF date)` Renders the DateRGF into a Julian date.

    Constructors in org.oorexx.datergf with parameters of type DateRGF
    Constructor and Description
    `DateTimeRGF(DateRGF date, TimeRGF time)` Creates a DateTimeRGF object set to the arguments `date` and `time`.