A C D G H I J M O P R S T V Y Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addDuration(GedcomxDateSimple, GedcomxDateDuration) - Static method in class org.gedcomx.date.GedcomxDateUtil
-
Add a duration to a simple date
- APPROXIMATE - org.gedcomx.date.GedcomxDateType
C
- compareTo(GedcomxDate) - Method in class org.gedcomx.date.GedcomxDate
-
This method MAY not be implemented for each subclass.
- compareTo(GedcomxDate) - Method in class org.gedcomx.date.GedcomxDateApproximate
-
Calls the
compareTomethod on the simple date that this GedcomxDateApproximate contains. - compareTo(GedcomxDate) - Method in class org.gedcomx.date.GedcomxDateSimple
-
Compares this GedcomxDateSimple object with either another GedcomxDateSimple object or a GedcomxDateApproximate object.
D
- Date() - Constructor for class org.gedcomx.date.GedcomxDateUtil.Date
- Date(GedcomxDateSimple, boolean) - Constructor for class org.gedcomx.date.GedcomxDateUtil.Date
- day - Variable in class org.gedcomx.date.GedcomxDateUtil.Date
- daysInMonth(Integer, Integer) - Static method in class org.gedcomx.date.GedcomxDateUtil
-
Find the number of days in a month within a given year
- DURATION - org.gedcomx.date.GedcomxDateType
G
- GedcomxDate - Class in org.gedcomx.date
-
A Formal Gedcomx Date
- GedcomxDate() - Constructor for class org.gedcomx.date.GedcomxDate
- GedcomxDateApproximate - Class in org.gedcomx.date
-
An Approximate Date
- GedcomxDateApproximate(String) - Constructor for class org.gedcomx.date.GedcomxDateApproximate
-
Instantiate a new approximate date
- GedcomxDateDuration - Class in org.gedcomx.date
-
The duration between two simple dates
- GedcomxDateDuration(String) - Constructor for class org.gedcomx.date.GedcomxDateDuration
-
Create a new duration from the formal string
- GedcomxDateException - Exception in org.gedcomx.date
- GedcomxDateException(String) - Constructor for exception org.gedcomx.date.GedcomxDateException
-
Creates a new runtime exception
- GedcomxDateRange - Class in org.gedcomx.date
-
A Date Range
- GedcomxDateRange(String) - Constructor for class org.gedcomx.date.GedcomxDateRange
-
Instantiate a new Range date from the formal string
- GedcomxDateRecurring - Class in org.gedcomx.date
-
A Recurring Date
- GedcomxDateRecurring(String) - Constructor for class org.gedcomx.date.GedcomxDateRecurring
-
Instantiate a new Recurring date from the formal date string
- GedcomxDateSimple - Class in org.gedcomx.date
-
A Simple Date
- GedcomxDateSimple(String) - Constructor for class org.gedcomx.date.GedcomxDateSimple
-
Instantiate a new Simple date based off of a formal date string.
- GedcomxDateType - Enum in org.gedcomx.date
-
Various types of dates.
- GedcomxDateUtil - Class in org.gedcomx.date
-
Static utility functions for handling GedcomX Dates
- GedcomxDateUtil.Date - Class in org.gedcomx.date
-
A simplified representation of a date.
- getCount() - Method in class org.gedcomx.date.GedcomxDateRecurring
-
Get the count
- getDay() - Method in class org.gedcomx.date.GedcomxDateApproximate
-
Get the day
- getDay() - Method in class org.gedcomx.date.GedcomxDateSimple
-
Get the day
- getDays() - Method in class org.gedcomx.date.GedcomxDateDuration
-
Get the days
- getDuration() - Method in class org.gedcomx.date.GedcomxDateRange
-
Get the duration between the start and end dates
- getDuration() - Method in class org.gedcomx.date.GedcomxDateRecurring
-
Get the duration
- getDuration(GedcomxDateSimple, GedcomxDateSimple) - Static method in class org.gedcomx.date.GedcomxDateUtil
-
Calculates the Duration between two dates
- getEnd() - Method in class org.gedcomx.date.GedcomxDateRange
-
Get the end of the range
- getEnd() - Method in class org.gedcomx.date.GedcomxDateRecurring
-
Get the end date
- getHours() - Method in class org.gedcomx.date.GedcomxDateApproximate
-
Get the hours
- getHours() - Method in class org.gedcomx.date.GedcomxDateDuration
-
Get the hours
- getHours() - Method in class org.gedcomx.date.GedcomxDateSimple
-
Get the hours
- getMinutes() - Method in class org.gedcomx.date.GedcomxDateApproximate
-
Get the minutes
- getMinutes() - Method in class org.gedcomx.date.GedcomxDateDuration
-
Get the minutes
- getMinutes() - Method in class org.gedcomx.date.GedcomxDateSimple
-
Get the minutes
- getMonth() - Method in class org.gedcomx.date.GedcomxDateApproximate
-
Get the month
- getMonth() - Method in class org.gedcomx.date.GedcomxDateSimple
-
Get the month
- getMonths() - Method in class org.gedcomx.date.GedcomxDateDuration
-
Get the months
- getNth(Integer) - Method in class org.gedcomx.date.GedcomxDateRecurring
-
Get the nth instance of this recurring date
- getRange() - Method in class org.gedcomx.date.GedcomxDateRecurring
-
Get the range
- getSeconds() - Method in class org.gedcomx.date.GedcomxDateApproximate
-
Get the seconds
- getSeconds() - Method in class org.gedcomx.date.GedcomxDateDuration
-
Get the seconds
- getSeconds() - Method in class org.gedcomx.date.GedcomxDateSimple
-
Get the seconds
- getSimpleDate() - Method in class org.gedcomx.date.GedcomxDateApproximate
-
Return the underlying simple date
- getStart() - Method in class org.gedcomx.date.GedcomxDateRange
-
Get the start of the range
- getStart() - Method in class org.gedcomx.date.GedcomxDateRecurring
-
Get the start date
- getType() - Method in class org.gedcomx.date.GedcomxDate
-
Return the type of date
- getType() - Method in class org.gedcomx.date.GedcomxDateApproximate
-
The type of this date
- getType() - Method in class org.gedcomx.date.GedcomxDateDuration
-
The type of this date
- getType() - Method in class org.gedcomx.date.GedcomxDateRange
-
Get the type of this date
- getType() - Method in class org.gedcomx.date.GedcomxDateRecurring
-
Get the date type
- getType() - Method in class org.gedcomx.date.GedcomxDateSimple
-
Get the Date Type
- getTzHours() - Method in class org.gedcomx.date.GedcomxDateApproximate
-
Get the timezone hours
- getTzHours() - Method in class org.gedcomx.date.GedcomxDateSimple
-
Get the timezone hours
- getTzMinutes() - Method in class org.gedcomx.date.GedcomxDateApproximate
-
Get the timezone minutes
- getTzMinutes() - Method in class org.gedcomx.date.GedcomxDateSimple
-
Get the timezone minutes
- getYear() - Method in class org.gedcomx.date.GedcomxDateApproximate
-
Get the year
- getYear() - Method in class org.gedcomx.date.GedcomxDateSimple
-
Get the year
- getYears() - Method in class org.gedcomx.date.GedcomxDateDuration
-
Get the years
H
- hours - Variable in class org.gedcomx.date.GedcomxDateUtil.Date
I
- isApproximate() - Method in class org.gedcomx.date.GedcomxDate
-
Whether or not this date is approximate
- isApproximate() - Method in class org.gedcomx.date.GedcomxDateApproximate
-
Whether or not this date is approximate
- isApproximate() - Method in class org.gedcomx.date.GedcomxDateDuration
-
A Duration is NEVER Approximate
- isApproximate() - Method in class org.gedcomx.date.GedcomxDateRange
-
Whether or not this date is considered approximate
- isApproximate() - Method in class org.gedcomx.date.GedcomxDateRecurring
-
Whether or not this date is considered approximate
- isApproximate() - Method in class org.gedcomx.date.GedcomxDateSimple
-
Whether or not this date can be considered approximate
J
- javaDatesToGedcomxDateRange(Date, Date) - Static method in class org.gedcomx.date.GedcomxDateUtil
-
Converts two java.util.Date objects to a GedcomxDateRange object.
- javaDateToGedcomxDateSimple(Date) - Static method in class org.gedcomx.date.GedcomxDateUtil
-
Converts a java.util.Date to a GedcomxDate object.
M
- minutes - Variable in class org.gedcomx.date.GedcomxDateUtil.Date
- month - Variable in class org.gedcomx.date.GedcomxDateUtil.Date
- multiplyDuration(GedcomxDateDuration, int) - Static method in class org.gedcomx.date.GedcomxDateUtil
-
Multiple a duration by a fixed number
O
- org.gedcomx.date - package org.gedcomx.date
P
- parse(String) - Static method in class org.gedcomx.date.GedcomxDateUtil
-
Parse a String representation of a Formal GedcomX Date
R
- RANGE - org.gedcomx.date.GedcomxDateType
- RECURRING - org.gedcomx.date.GedcomxDateType
S
- seconds - Variable in class org.gedcomx.date.GedcomxDateUtil.Date
- SIMPLE - org.gedcomx.date.GedcomxDateType
T
- toFormalString() - Method in class org.gedcomx.date.GedcomxDate
-
The formal representation of this date
- toFormalString() - Method in class org.gedcomx.date.GedcomxDateApproximate
-
Returns the formal representation of this date
- toFormalString() - Method in class org.gedcomx.date.GedcomxDateDuration
-
The formal string representation of the duration
- toFormalString() - Method in class org.gedcomx.date.GedcomxDateRange
-
Return the formal string for this date
- toFormalString() - Method in class org.gedcomx.date.GedcomxDateRecurring
-
Return the formal string for this date
- toFormalString() - Method in class org.gedcomx.date.GedcomxDateSimple
-
Output the formal string for this date
V
- valueOf(String) - Static method in enum org.gedcomx.date.GedcomxDateType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.gedcomx.date.GedcomxDateType
-
Returns an array containing the constants of this enum type, in the order they are declared.
Y
- year - Variable in class org.gedcomx.date.GedcomxDateUtil.Date
Z
- zipDates(GedcomxDateUtil.Date, GedcomxDateUtil.Date) - Static method in class org.gedcomx.date.GedcomxDateUtil
-
Ensures that both start and end have values where the other has values.
- zipDuration(GedcomxDateUtil.Date, GedcomxDateDuration) - Static method in class org.gedcomx.date.GedcomxDateUtil
-
Ensures that date has its properties initialized based on what the duration has.
All Classes All Packages