Package | Description |
---|---|
com.aquafold.openapi.type |
Modifier and Type | Method and Description |
---|---|
AQDate |
AQDate.add(int years,
int months,
int days,
int hours,
int minutes,
int seconds,
int milliseconds)
Returns a new
AQDate instance which differs by the specified amount of time. |
AQDate |
AQDate.addDays(int days)
Returns a new
AQDate instance which differs by the number of days. |
AQDate |
AQDate.addHours(int hours)
Returns a new
AQDate instance which differs by the number of hours. |
AQDate |
AQDate.addMilliseconds(int ms)
Returns a new
AQDate instance which differs by the number of milliseconds. |
AQDate |
AQDate.addMinutes(int minutes)
Returns a new
AQDate instance which differs by the number of minutes. |
AQDate |
AQDate.addMonths(int months)
Returns a new
AQDate instance which differs by the number of months. |
AQDate |
AQDate.addSeconds(int seconds)
Returns a new
AQDate instance which differs by the number of seconds. |
AQDate |
AQDate.addTimeZoneOffset(int ms)
Returns a new
AQDate instance which time zone offset differs by
the specified number of milliseconds. |
AQDate |
AQDate.addYears(int years)
Returns a new
AQDate instance which differs by the number of years. |
AQDate |
AQDate.convertTimeZone(String timezone)
Returns a new
AQDate instance where time zone is adjusted to the specified value,
without changing the actual UTC time. |
AQDate |
AQDateFactory.newDate()
Creates a new date object initialized with the current platform time, locale, and time zone.
|
AQDate |
AQDateFactory.newDate(int year,
int month,
int day)
Creates a new date object initialized with the specified date,
using platform locale and time zone.
|
AQDate |
AQDateFactory.newDate(int year,
int month,
int day,
int hours,
int minutes,
int seconds,
Object timezone)
Creates a new date object initialized with the specified date, time, and time zone;
using platform locale.
|
AQDate |
AQDateFactory.newDate(int year,
int month,
int day,
int hours,
int minutes,
Object timezone)
Creates a new date object initialized with the specified date and time,
using platform locale and time zone.
|
AQDate |
AQDateFactory.newDate(int year,
int month,
int day,
Object timezone)
Creates a new date object initialized with the specified date,
using platform locale and the specified time zone.
|
AQDate |
AQDateFactory.newDate(long time,
Object timezone)
Creates a new date object initialized with the specified time, and time zone;
using platform locale.
|
AQDate |
AQDateFactory.parse(String date,
String pattern,
Object timezone)
Creates a new date object by parsing the specified date string using the specified
pattern.
|
AQDate |
AQDateFactory.parse(String date,
String pattern,
String timezone,
String locale)
Creates a new date object by parsing the specified date string using the specified
pattern.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AQDate.isEarlier(AQDate date)
Returns true if the date is earlier than the specified date.
|
boolean |
AQDateFactory.isEarlier(AQDate a,
AQDate b)
Returns true if the date specified in parameter
a is earlier
than the date specified in parameter b . |
boolean |
AQDate.isInRange(AQDate start,
AQDate end)
Returns true if the date is within the specified range (inclusive).
|
boolean |
AQDateFactory.isInRange(AQDate date,
AQDate start,
AQDate end)
Returns true if the date is within the specified range (start...end, inclusive).
|
boolean |
AQDate.isLater(AQDate date)
Returns true if the date is later than the specified date.
|
boolean |
AQDateFactory.isLater(AQDate a,
AQDate b)
Returns true if the date specified in parameter
a is later
than the date specified in parameter b . |
Copyright © 2017 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.