Package | Description |
---|---|
com.atlassian.jira.datetime |
A small set of classes that allow clients to format and parse dates in JIRA, in a way that is time zone and locale
aware.
|
com.atlassian.jira.index | |
com.atlassian.jira.issue.index.indexers.impl | |
com.atlassian.jira.issue.statistics | |
com.atlassian.jira.jql.util |
Modifier and Type | Method and Description |
---|---|
static LocalDate |
LocalDateFactory.from(Date date)
Constructs a new LocalDate from the given
java.util.Date by interpreting the Date in the system (JVM) timezone. |
static LocalDate |
LocalDateFactory.fromIsoBasicFormat(String isoDate)
Turns an "ISO Basic" formatted date (ie YYYYMMDD) into a LocalDate.
|
LocalDate |
LocalDate.getEarlierDate(LocalDate that) |
LocalDate |
LocalDate.getLaterDate(LocalDate that) |
static LocalDate |
LocalDateFactory.getLocalDate(Date date,
TimeZone timeZone)
Returns the LocalDate for a point in time in a given TimeZone.
|
LocalDate |
LocalDate.minusDays(int days) |
LocalDate |
LocalDate.minusMonths(int months) |
LocalDate |
LocalDate.minusYears(int years) |
LocalDate |
LocalDate.plusDays(int days) |
LocalDate |
LocalDate.plusMonths(int months) |
LocalDate |
LocalDate.plusYears(int years) |
Modifier and Type | Method and Description |
---|---|
int |
LocalDate.compareTo(LocalDate localDate) |
LocalDate |
LocalDate.getEarlierDate(LocalDate that) |
LocalDate |
LocalDate.getLaterDate(LocalDate that) |
static String |
LocalDateFactory.toIsoBasic(LocalDate localDate)
Formats the given LocalDate in "ISO Basic" format (ie YYYYMMDD).
|
Modifier and Type | Method and Description |
---|---|
C |
EntityDocumentFactory.EntityDocumentBuilder.addSearchableField(String name,
LocalDate localDate,
org.apache.lucene.document.Field.Store store) |
Modifier and Type | Method and Description |
---|---|
void |
BaseFieldIndexer.indexLocalDateField(org.apache.lucene.document.Document doc,
String indexField,
LocalDate localDate,
Issue issue)
Index a single keyword field, with a LocalDate value
|
Modifier and Type | Field and Description |
---|---|
static LuceneFieldSorter<LocalDate> |
DateFieldSorter.ISSUE_DUEDATE_STATSMAPPER |
Modifier and Type | Method and Description |
---|---|
LocalDate |
LocalDateFieldSorter.getValueFromLuceneField(String documentValue) |
Modifier and Type | Method and Description |
---|---|
Comparator<LocalDate> |
LocalDateFieldSorter.getComparator() |
Modifier and Type | Method and Description |
---|---|
LocalDate |
JqlLocalDateSupportImpl.convertToLocalDate(Long dateLong) |
LocalDate |
JqlLocalDateSupport.convertToLocalDate(Long dateLong)
Try to parse the passed date long.
|
LocalDate |
JqlLocalDateSupportImpl.convertToLocalDate(String dateString) |
LocalDate |
JqlLocalDateSupport.convertToLocalDate(String dateString)
Try to parse the passed date string using the formats that JQL understands.
|
LocalDate |
JqlLocalDateSupportImpl.getLocalDateFromQueryLiteral(QueryLiteral rawValue) |
LocalDate |
JqlLocalDateSupport.getLocalDateFromQueryLiteral(QueryLiteral rawValue)
Try to parse the passed date in query literal.
|
Modifier and Type | Method and Description |
---|---|
List<LocalDate> |
JqlLocalDateSupportImpl.getLocalDatesFromQueryLiterals(List<QueryLiteral> rawValues) |
List<LocalDate> |
JqlLocalDateSupport.getLocalDatesFromQueryLiterals(List<QueryLiteral> rawValues)
Try to parse the passed dates in query literals.
|
Modifier and Type | Method and Description |
---|---|
Date |
JqlLocalDateSupportImpl.convertToDate(LocalDate date) |
Date |
JqlLocalDateSupport.convertToDate(LocalDate date)
Converts a LocalDate to a Date using the systems time zone.
|
String |
JqlLocalDateSupportImpl.getLocalDateString(LocalDate localDate) |
String |
JqlLocalDateSupport.getLocalDateString(LocalDate date)
Return a string representation of the passed date.
|
Copyright © 2002-2022 Atlassian. All Rights Reserved.