Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addDuration(GedcomxDateSimple, GedcomxDateDuration) - Static method in class org.gedcomx.date.GedcomxDateUtil
-
Add a duration to a simple date
- APPROXIMATE - Enum constant in enum class 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
- daysInMonth(Integer, Integer) - Static method in class org.gedcomx.date.GedcomxDateUtil
-
Deprecated, for removal: This API element is subject to removal in a future version.this method is just a pass through to java.time.YearMonth.lengthOfMonth
- DURATION - Enum constant in enum class 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
- GedcomxDateException(String, Throwable) - Constructor for exception org.gedcomx.date.GedcomxDateException
- 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 Class in org.gedcomx.date
-
Various types of dates.
- GedcomxDateUtil - Class in org.gedcomx.date
-
Static utility functions for handling GedcomX Dates
- 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
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
- 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 - Enum constant in enum class org.gedcomx.date.GedcomxDateType
- RECURRING - Enum constant in enum class org.gedcomx.date.GedcomxDateType
S
- SIMPLE - Enum constant in enum class 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 class org.gedcomx.date.GedcomxDateType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.gedcomx.date.GedcomxDateType
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Serialized Form