Package | Description |
---|---|
org.fastnate.generator | |
org.fastnate.generator.statements |
Modifier and Type | Field and Description |
---|---|
static RelativeDate.Precision |
RelativeDate.DAYS
Used for adding days to a reference date.
|
static RelativeDate.Precision |
RelativeDate.HOURS
Used for adding hours to a reference date.
|
static RelativeDate.Precision |
RelativeDate.MILLISECONDS
Used for adding milliseconds to a reference date.
|
static RelativeDate.Precision |
RelativeDate.MINUTES
Used for adding minutes to a reference date.
|
private static RelativeDate.Precision[] |
RelativeDate.PRECISIONS
All known precisions, from the smallest to the biggest.
|
static RelativeDate.Precision |
RelativeDate.SECONDS
Used for adding seconds to a reference date.
|
static RelativeDate.Precision |
RelativeDate.WEEKS
Used for adding weeks to a reference date.
|
static RelativeDate.Precision |
RelativeDate.YEARS
Used for adding years to a reference date.
|
Modifier and Type | Method and Description |
---|---|
RelativeDate.Precision |
RelativeDate.getPrecision()
Finds the highest possible unit of the difference between the reference date and this date.
|
Constructor and Description |
---|
RelativeDate(RelativeDate.ReferenceDate referenceDate,
long delta,
RelativeDate.Precision precision)
Creates a new difference to a given reference date.
|
Modifier and Type | Field and Description |
---|---|
private static RelativeDate.Precision[] |
LiquibaseStatementsWriter.DATE_PRECISIONS |
Copyright © 2022 fastnate.org. All rights reserved.