Rony G. Flatscher (c) 2001-2006 (r), datergf - Date/Time simple manipulations, arithmetics, formatting, v0.92, 2001-04-07 (2006-01-01) (Java)
A C D E F G H I J L M N O Q R S T U V W Y

A

APRIL - Static variable in interface org.oorexx.datergf.DTC
April, has value 4 (ISO).
AUGUST - Static variable in interface org.oorexx.datergf.DTC
August, has value 8 (ISO).
add(int) - Method in class org.oorexx.datergf.DateRGF
Adds the number of days to this DateRGF.
add(int, int) - Method in class org.oorexx.datergf.DateTimeRGF
Adds the number of days to the date field and the number of milliseconds to the time field of this DateTimeRGF object.
am_pm_string - Static variable in class org.oorexx.datergf.TimeRGF
An array of two strings representing "am" and "pm".
assign(DateRGF) - Method in class org.oorexx.datergf.DateRGF
Assigns all DateRGF fields of otherDateRGF to this DateRGF.
assign(DateTimeRGF) - Method in class org.oorexx.datergf.DateTimeRGF
Assigns otherDateTimeRGF to this DateTimeRGF.
assign(TimeRGF) - Method in class org.oorexx.datergf.TimeRGF
Assigns other TimeRGF to this TimeRGF.

C

clone() - Method in class org.oorexx.datergf.DateRGF
Implements the "Clonable" interface.
clone() - Method in class org.oorexx.datergf.DateTimeRGF
Implements the "Clonable" interface.
clone() - Method in class org.oorexx.datergf.TimeRGF
Implements the "Clonable" interface.
compareTo(Object) - Method in class org.oorexx.datergf.DateRGF
Implements the "Comparable" interface.
compareTo(Object) - Method in class org.oorexx.datergf.DateTimeRGF
Implements the "Comparable" interface.
compareTo(Object) - Method in class org.oorexx.datergf.TimeRGF
Implements the "Comparable" interface.

D

D - Static variable in interface org.oorexx.datergf.DTC
Constant to refer to the DateRGF.day field in DateRGF.get(int flag) and DateRGF.set(int flag, int new_value).
DATE_ORDER - Static variable in interface org.oorexx.datergf.DTC
Constant to refer to the DateRGF#dateOrder field in DateRGF.getStatic(int flag) and DateRGF.setStatic(int flag, int new_value).
DAYS_IN_MONTH - Static variable in interface org.oorexx.datergf.DTC
Constant 'total of days in month'.
DAY_FIELD - Static variable in interface org.oorexx.datergf.DTC
Constant to refer to the DateRGF.day field in DateRGF.get(int flag) and DateRGF.set(int flag, int new_value).
DECEMBER - Static variable in interface org.oorexx.datergf.DTC
December, has value 12 (ISO).
DMY - Static variable in interface org.oorexx.datergf.DTC
Constant to indicate the order Day/Month/Year.
DN - Static variable in interface org.oorexx.datergf.DTC
Constant 'day name'.
DOW - Static variable in interface org.oorexx.datergf.DTC
Constant 'day of week' (DOW).
DOW_ORDINAL - Static variable in interface org.oorexx.datergf.DTC
Constant 'day of week relative to day which begins the week (DateRGF#weekStart.
DTC - interface org.oorexx.datergf.DTC.
This interface serves as a container for constants used in the classes of the datergf package in order to minimize the needed space of compiled classes.
DateFormatRGF - class org.oorexx.datergf.DateFormatRGF.
This class helps to format DateRGF objects in strings, using various renderings.
DateFormatRGF() - Constructor for class org.oorexx.datergf.DateFormatRGF
 
DateRGF - class org.oorexx.datergf.DateRGF.
DateRGF.DateRGF(int, int, int) is an implementation of Date which allows for date manipulations and date arithmetics.
DateRGF() - Constructor for class org.oorexx.datergf.DateRGF
Creates a DateRGF object with all fields set to 1.
DateRGF(int, int, int) - Constructor for class org.oorexx.datergf.DateRGF
Creates a DateRGF from the three integers, representing year, month and day.
DateTimeRGF - class org.oorexx.datergf.DateTimeRGF.
DateTimeRGF implements a class consisting of a DateRGF and TimeRGF.
DateTimeRGF() - Constructor for class org.oorexx.datergf.DateTimeRGF
Creates a DateTimeRGF object set to "0001-01-01 00:00:00.000".
DateTimeRGF(DateRGF, TimeRGF) - Constructor for class org.oorexx.datergf.DateTimeRGF
Creates a DateTimeRGF object set to the arguments date and time.
DateTimeRGF(int, int, int, int, int, int) - Constructor for class org.oorexx.datergf.DateTimeRGF
Creates a DateTimeRGF object set to the values from the arguments.
DateTimeRGF(int, int, int, int, int, int, int) - Constructor for class org.oorexx.datergf.DateTimeRGF
Creates a DateTimeRGF object set to the values from the arguments.
date - Variable in class org.oorexx.datergf.DateTimeRGF
DateRGF field to store the date portion.
date2jdn(DateRGF) - Static method in class org.oorexx.datergf.DateRGF
Determines into which calendar a date falls into and calls the appropriate method to calculate the respective Julian day number of the Julian period.
date2jdn(int, int, int, int) - Static method in class org.oorexx.datergf.DateRGF
Calculates the Julian day number of the Julian period from a date which belongs to the Julian or Gregorian calendar, depending on the flag argument.
dateSeparator - Static variable in class org.oorexx.datergf.DateRGF
Stores the desired string to be used to delimit date fields in DateRGF.toString().
daysInMonth(DateRGF) - Static method in class org.oorexx.datergf.DateRGF
Determines the number of days for the date's month.
dow(DateRGF) - Static method in class org.oorexx.datergf.DateRGF
Calculates the day of week (DOW).
dow_ord(DateRGF) - Static method in class org.oorexx.datergf.DateRGF
Calculates the ordinal value of the day of week (DOW), which is relative to #weekStart.

E

ENCODED_AS_INTEGER - Static variable in interface org.oorexx.datergf.DTC
Constant to indicate that DateRGF is encoded as an integer in the form of: year*10000+ month*100+ day.
ENCODED_AS_MILLIS - Static variable in interface org.oorexx.datergf.DTC
Constant to indicate that the time is encoded as an integer representing the time as milliseconds relative to midnight.
ENCODED_AS_SECONDS - Static variable in interface org.oorexx.datergf.DTC
Constant to indicate that the time is encoded as an integer representing the time as seconds relative to midnight.
EPOCH_DEFAULT - Static variable in interface org.oorexx.datergf.DTC
Constant, to indicate to use the default epoch.
EPOCH_DOS - Static variable in interface org.oorexx.datergf.DTC
Constant, epoch starts with 1980-01-01.
EPOCH_JAVA - Static variable in interface org.oorexx.datergf.DTC
Constant, epoch starts with 1970-01-01.
EPOCH_MACINTOSH - Static variable in interface org.oorexx.datergf.DTC
Constant, epoch starts with 1904-01-01.
EPOCH_MJD - Static variable in interface org.oorexx.datergf.DTC
Constant, epoch starts with 1858-11-17 and denotes the epoch of the "modified julian day (MJD)" sometimes used in calendar algorithms.
EPOCH_PALM - Static variable in interface org.oorexx.datergf.DTC
Constant, epoch starts with 1904-01-01.
EPOCH_USER - Static variable in interface org.oorexx.datergf.DTC
Constant, epoch defined by the user (DateRGF.setDefaultEpochDate(int value).
EPOCH_WIN32 - Static variable in interface org.oorexx.datergf.DTC
Constant, epoch starts with 1601-01-01.
easter(DateRGF) - Static method in class org.oorexx.datergf.DateRGF
Calculate Easter Sunday for the year of the date.
easter(int, int) - Static method in class org.oorexx.datergf.DateRGF
Calculate the Julian (Orthodox) or Gregorian (Western) Easter Sunday for the given year.
equals(DateRGF) - Method in class org.oorexx.datergf.DateRGF
Returns true if DateRGFs are equal (both have the same value in the fields #year #month #day).
equals(DateTimeRGF) - Method in class org.oorexx.datergf.DateTimeRGF
Implements the "Comparator.equals(Object obj)" interface.
equals(TimeRGF) - Method in class org.oorexx.datergf.TimeRGF
Implements the "Comparator.equals(Object obj)" interface.

F

FEBRUARY - Static variable in interface org.oorexx.datergf.DTC
February, has value (ISO).
FRIDAY - Static variable in interface org.oorexx.datergf.DTC
Friday, has value 5 (ISO).
format(String, Object) - Static method in class org.oorexx.datergf.DateFormatRGF
Creates a string according to a format pattern, using objects of type DateTimeRGF, DateRGF or TimeRGF.
fromJulianDate(int) - Static method in class org.oorexx.datergf.DateRGF
Renders a Julian date into a DateRGF.

G

GREGORIAN - Static variable in interface org.oorexx.datergf.DTC
Constant to indicate the usage of the Gregorian calendar in the methods DateRGF.jdn2date(int jdn, DateRGF aDate, int flag) and DateRGF.date2jdn(int year, int month, int day, int flag).
get(int) - Method in class org.oorexx.datergf.DateRGF
Allows to retrieve information about this DateRGF.
get(int) - Method in class org.oorexx.datergf.TimeRGF
Allows to retrieve time fields and a rendering of TimeRGF to integer.
getDefaultEpochDate() - Static method in class org.oorexx.datergf.DateRGF
Returns a clone (copy) of the presently defined epoch DateRGF.
getGregorianChange() - Static method in class org.oorexx.datergf.DateRGF
Returns a clone of the DateRGF object which is set to the first date of the Gregorian calendar.
getStatic(int) - Static method in class org.oorexx.datergf.DateRGF
Allows to query the static fields #weekStart and #dateOrder.
getString(int, int) - Static method in class org.oorexx.datergf.DateRGF
Returns the name of the day or of the month according to flag.

H

HOUR_FIELD - Static variable in interface org.oorexx.datergf.DTC
Constant to refer to the TimeRGF#hour field in get(int flag) and set(int flag, int new_value).
HY - Static variable in interface org.oorexx.datergf.DTC
Constant 'half year' (semester).
HYB - Static variable in interface org.oorexx.datergf.DTC
Constant 'half year begin' (semester begin).
HYE - Static variable in interface org.oorexx.datergf.DTC
Constant 'half year end' (semester end).

I

is24Hour - Static variable in class org.oorexx.datergf.TimeRGF
Indicates whether 24 hour clock (military time) or am/pm style is in effect in toString().
isLeapYear(DateRGF) - Static method in class org.oorexx.datergf.DateRGF
Determines whether the given DateRGF is a leap year.
isoWeek(DateRGF) - Static method in class org.oorexx.datergf.DateRGF
Determines into which week of the year the given DateRGF falls into using ISO rules.

J

JANUARY - Static variable in interface org.oorexx.datergf.DTC
January, has value 1 (ISO).
JDN - Static variable in interface org.oorexx.datergf.DTC
Constant to refer to the DateRGF#jdn field in DateRGF.get(int flag) and DateRGF.set(int flag, int new_value).
JULIAN - Static variable in interface org.oorexx.datergf.DTC
Constant to indicate the usage of the Julian calendar in the methods DateRGF.jdn2date(int jdn, DateRGF aDate, int flag) and DateRGF.date2jdn(int year, int month, int day, int flag), or to indicate that a 'Julian date' (in the form 'YYYYddd') is desired in the method DateRGF.get(int flag).
JULY - Static variable in interface org.oorexx.datergf.DTC
July, has value 7 (ISO).
JUNE - Static variable in interface org.oorexx.datergf.DTC
June, has value 6 (ISO).
jdn2date(int, DateRGF) - Static method in class org.oorexx.datergf.DateRGF
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.
jdn2date(int, DateRGF, int) - Static method in class org.oorexx.datergf.DateRGF
Sets the date belonging to the Julian calendar or Graegorian calendar according to the given Julian day number of the Julian period.

L

localize() - Static method in class org.oorexx.datergf.DateFormatRGF
Sets the national language characteristics of the Date/Time/RGF package.
localize(Locale) - Static method in class org.oorexx.datergf.DateFormatRGF
Sets the national language characteristics of the Date/Time/RGF package using the Java runtime information.

M

M - Static variable in interface org.oorexx.datergf.DTC
Constant to refer to the DateRGF.month field in DateRGF.get(int flag) and DateRGF.set(int flag, int new_value).
MARCH - Static variable in interface org.oorexx.datergf.DTC
March, has value 3 (ISO).
MAY - Static variable in interface org.oorexx.datergf.DTC
May, has value 5 (ISO).
MB - Static variable in interface org.oorexx.datergf.DTC
Constant 'month begin'.
MDY - Static variable in interface org.oorexx.datergf.DTC
Constant to indicate the order Month/Day/Year.
ME - Static variable in interface org.oorexx.datergf.DTC
Constant 'month end'.
MILLIS_FIELD - Static variable in interface org.oorexx.datergf.DTC
Constant to refer to the TimeRGF#millis field in get(int flag) and set(int flag, int new_value).
MILLIS_PER_DAY - Static variable in interface org.oorexx.datergf.DTC
Millis in a full day (86.400.000).
MILLIS_PER_HOUR - Static variable in interface org.oorexx.datergf.DTC
Millis in a full hour (3.600.000).
MILLIS_PER_MINUTE - Static variable in interface org.oorexx.datergf.DTC
Millis in a full minute (60.000).
MILLIS_PER_SECOND - Static variable in interface org.oorexx.datergf.DTC
Millis in a full second (1.000).
MINUTE_FIELD - Static variable in interface org.oorexx.datergf.DTC
Constant to refer to the TimeRGF#minute field in get(int flag) and set(int flag, int new_value).
MN - Static variable in interface org.oorexx.datergf.DTC
Constant 'month name'.
MONDAY - Static variable in interface org.oorexx.datergf.DTC
Monday, has value 1 (ISO).
MONTH_FIELD - Static variable in interface org.oorexx.datergf.DTC
Flag to refer to the DateRGF.month field in DateRGF.get(int flag) and DateRGF.set(int flag, int new_value).

N

NAD - Static variable in interface org.oorexx.datergf.DTC
Constant to indicate an impossible value for DateRGF#jdn, "Not A Date"
NOVEMBER - Static variable in interface org.oorexx.datergf.DTC
November, has value 11 (ISO).

O

OCTOBER - Static variable in interface org.oorexx.datergf.DTC
October, has value 10 (ISO).
org.oorexx.datergf - package org.oorexx.datergf
 

Q

Q - Static variable in interface org.oorexx.datergf.DTC
Constant 'quarter'.
QB - Static variable in interface org.oorexx.datergf.DTC
Constant 'quarter begin'.
QE - Static variable in interface org.oorexx.datergf.DTC
Constant 'quarter end'.

R

RAW_MILLIS_FIELD - Static variable in interface org.oorexx.datergf.DTC
Constant to refer to the TimeRGF#raw_millis field in get(int flag) and set(int flag, int new_value).
romanL - Static variable in class org.oorexx.datergf.DateFormatRGF
Array of lowercase roman number strings (1 through 12).
romanU - Static variable in class org.oorexx.datergf.DateFormatRGF
Array of uppercase roman number strings (1 through 12).

S

SATURDAY - Static variable in interface org.oorexx.datergf.DTC
Saturday, has value 6 (ISO).
SECONDS_PER_DAY - Static variable in interface org.oorexx.datergf.DTC
Seconds in a full day (86400).
SECONDS_PER_HOUR - Static variable in interface org.oorexx.datergf.DTC
Seconds in a full hour (3600).
SECONDS_PER_MINUTE - Static variable in interface org.oorexx.datergf.DTC
Seconds in a full minute (60).
SECOND_FIELD - Static variable in interface org.oorexx.datergf.DTC
Constant to refer to the TimeRGF#second field in get(int flag) and set(int flag, int new_value).
SEPTEMBER - Static variable in interface org.oorexx.datergf.DTC
September, has value 9 (ISO).
SUNDAY - Static variable in interface org.oorexx.datergf.DTC
Sunday, has value 7 (ISO).
set(int, int) - Method in class org.oorexx.datergf.DateRGF
Allows to set this DateRGF object to a specific date.
set(int, int, int) - Method in class org.oorexx.datergf.DateRGF
Set all three DateRGF fields at once.
set(int, int) - Method in class org.oorexx.datergf.TimeRGF
Allows to set the indicated time portion.
setDefaultEpochDate(int) - Static method in class org.oorexx.datergf.DateRGF
Sets the DateRGF which presently serves as the epoch.
setGivenWeekday(int, DateRGF) - Static method in class org.oorexx.datergf.DateRGF
From a given DateRGF calculate the previous or next date, which falls on one of the given weekdays.
setGregorianChange(int, int, int) - Static method in class org.oorexx.datergf.DateRGF
Allows to set the date on which the usage of the Gregorian calendar starts.
setStatic(int, int) - Static method in class org.oorexx.datergf.DateRGF
Allows to set the static fields #weekStart and #dateOrder.
setString(int, String[]) - Static method in class org.oorexx.datergf.DateRGF
Alllows to set the names of the month or of the days according to flag.
showSecs - Static variable in class org.oorexx.datergf.TimeRGF
Indicates whether second portion should be shown in toString().
subtract(DateRGF) - Method in class org.oorexx.datergf.DateRGF
Calculates the differences (in number of days) between two DateRGFs.
subtract(DateTimeRGF) - Method in class org.oorexx.datergf.DateTimeRGF
Subtracts a DateTimeRGF object from this one.
subtract(TimeRGF) - Method in class org.oorexx.datergf.TimeRGF
Subtracts otherTimeRGF and returns the difference as a fraction.

T

THURSDAY - Static variable in interface org.oorexx.datergf.DTC
Thursday, has value 4 (ISO).
TUESDAY - Static variable in interface org.oorexx.datergf.DTC
Tuesday, has value 2 (ISO).
TimeRGF - class org.oorexx.datergf.TimeRGF.
Class to implement the time of the day, consisting of the fields #hour, #minute, #second and millis(econds).
TimeRGF() - Constructor for class org.oorexx.datergf.TimeRGF
Creates a TimeRGF object with all fields set to 0.
TimeRGF(int, int, int) - Constructor for class org.oorexx.datergf.TimeRGF
Creates a TimeRGF from the three integers, representing hour, minute and second.
TimeRGF(int, int, int, int) - Constructor for class org.oorexx.datergf.TimeRGF
Creates a TimeRGF from the three integers, representing hour, minute and second.
time - Variable in class org.oorexx.datergf.DateTimeRGF
TimeRGF field to store the time portion.
timeSeparator - Static variable in class org.oorexx.datergf.TimeRGF
Character to be used to delimit time fields in toString().
toFloat() - Method in class org.oorexx.datergf.TimeRGF
Renders TimeRGF as a fraction of a day.
toInt(int) - Method in class org.oorexx.datergf.DateTimeRGF
Renders the DateTimeRGF object into an int, encoded as seconds since/until the given epoch.
toJulianDate(DateRGF) - Static method in class org.oorexx.datergf.DateRGF
Renders the DateRGF into a Julian date.
toLong(int) - Method in class org.oorexx.datergf.DateTimeRGF
Renders the DateTimeRGF object into a long, encoded as milliseconds since/until the given epoch.
toString() - Method in class org.oorexx.datergf.DateRGF
Returns time formatted into a string according to the fields DateRGF.dateSeparator, #dateOrder.
toString() - Method in class org.oorexx.datergf.DateTimeRGF
Render the DateTimeRGF object to a string.
toString() - Method in class org.oorexx.datergf.TimeRGF
Renders TimeRGF as a String.

U

update() - Method in class org.oorexx.datergf.DateRGF
This method sets the DateRGF object to the actual local date of the system.
update() - Method in class org.oorexx.datergf.DateTimeRGF
Updates the DateTimeRGF object to the actual local date and time of the machine.
update() - Method in class org.oorexx.datergf.TimeRGF
This method sets the TimeRGF object to to the actual local time of the system.

V

valueOf(int, int) - Static method in class org.oorexx.datergf.DateRGF
Creates a DateRGF object by adding days to the given DateRGF (which may be an epoch date indicated by the appropriate constant).
valueOf(String) - Static method in class org.oorexx.datergf.DateRGF
Create a DateRGF object from a string containing a DateRGF encoded according to the present setting of #dateOrder.
valueOf(int, long) - Static method in class org.oorexx.datergf.DateTimeRGF
Creates a DateTimeRGF object from the number of milliseconds since/to the given epoch.
valueOf(int, int) - Static method in class org.oorexx.datergf.DateTimeRGF
Creates a DateTimeRGF from the unsigned int relative to the given epoch.
valueOf(float) - Static method in class org.oorexx.datergf.TimeRGF
Creates a TimeRGF object from a fraction of a day.
valueOf(int, int) - Static method in class org.oorexx.datergf.TimeRGF
Creates a TimeRGF object from an integer, representing the time.
valueOf(String) - Static method in class org.oorexx.datergf.TimeRGF
Create a TimeRGF object from a string containing a TimeRGF encoded exactly according to the present setting of the fields: timeSeparator, is24Hour and am_pm_string.
version - Static variable in interface org.oorexx.datergf.DTC
Version string indicating version of this class (majorVersion*100+minorVersion concatenated with a dot and the sorted date of last change.
version - Static variable in class org.oorexx.datergf.DateFormatRGF
Version string indicating version of this class (majorVersion*100+minorVersion concatenated with a dot and the sorted date of last change.
version - Static variable in class org.oorexx.datergf.DateRGF
Version string indicating version of this class (majorVersion*100+minorVersion concatenated with a dot and the sorted date of last change.
version - Static variable in class org.oorexx.datergf.DateTimeRGF
Version string indicating version of this class (majorVersion*100+minorVersion concatenated with a dot and the sorted date of last change.
version - Static variable in class org.oorexx.datergf.TimeRGF
Version string indicating version of this class (majorVersion*100+minorVersion concatenated with a dot and the sorted date of last change.

W

W - Static variable in interface org.oorexx.datergf.DTC
Constant 'ISO week number'.
WB - Static variable in interface org.oorexx.datergf.DTC
Constant 'week begin'.
WE - Static variable in interface org.oorexx.datergf.DTC
Constant 'week end'.
WEDNESDAY - Static variable in interface org.oorexx.datergf.DTC
Wednesday, has value 3 (ISO).
WEEK - Static variable in interface org.oorexx.datergf.DTC
Constant 'ISO week number'.
WEEKDAY - Static variable in interface org.oorexx.datergf.DTC
Constant 'weekday' inidicating that the date is to be set to one of the given weekdays using the DateRGF.set(int flag, int number) method.
WEEK_START - Static variable in interface org.oorexx.datergf.DTC
Constant to refer to DateRGF#weekStart.

Y

Y - Static variable in interface org.oorexx.datergf.DTC
Constant to refer to the DateRGF.year field in DateRGF.get(int flag) and DateRGF.set(int flag, int new_value).
YB - Static variable in interface org.oorexx.datergf.DTC
Constant 'year begin'.
YE - Static variable in interface org.oorexx.datergf.DTC
Constant 'year end'.
YEAR_FIELD - Static variable in interface org.oorexx.datergf.DTC
Constant to refer to the DateRGF.year field in DateRGF.get(int flag) and DateRGF.set(int flag, int new_value).
YMD - Static variable in interface org.oorexx.datergf.DTC
Constant to indicate the order Year/Month/Day.

A C D E F G H I J L M N O Q R S T U V W Y
Rony G. Flatscher (c) 2001-2006 (r), datergf - Date/Time simple manipulations, arithmetics, formatting, v0.92, 2001-04-07 (2006-01-01) (Java)