public class DateHelper
extends Object
-
-
Method Summary
Modifier and Type |
Method |
Description |
static void |
endOfDay(Calendar cal) |
|
static void |
endOfMonth(Calendar cal) |
|
static TemporalAdjuster |
firstDayOfQuarter() |
|
static TemporalAdjuster |
firstDayOfSeason() |
|
static String |
format(UTCDate date,
String format) |
|
static String |
format(UTCDate date,
String format,
String timezone) |
|
static String |
format(ZonedDateTime date,
String format) |
|
static ZoneId |
getTimeZone(String timezone) |
|
static int |
isDaylightSavings(UTCDate date,
String timezone) |
|
static boolean |
isOnDate(String d) |
|
static TemporalAdjuster |
lastDayOfQuarter() |
|
static TemporalAdjuster |
lastDayOfSeason() |
|
static UTCDate |
moveDate(UTCDate start,
int period,
String time,
boolean back) |
|
static UTCDate |
parse(String d) |
|
static UTCDate |
parse(String d,
Calendar calendar) |
|
static UTCDate |
parse(String d,
Calendar calendar,
String timezone) |
|
static UTCDate |
parse(String d,
String format) |
|
static UTCDate |
parse(String d,
String format,
String locale) |
|
static UTCDate |
parseDateWithOffset(String d) |
|
static UTCDate |
parseISO_DATE(String d) |
|
static UTCDate |
parseISO_DATE_TIME(String d) |
|
static UTCDate |
parseOnDate(String d) |
|
static UTCDate |
parsePeriodCode(String d) |
|
static UTCDate |
parseRuleDate(String d) |
|
static UTCDate |
parseRuleDate(String d,
Calendar calendar) |
|
static UTCDate |
parseWithTimeZone(String d,
String format,
String tz) |
|
static void |
startOfDay(Calendar cal) |
|
static void |
startOfMonth(Calendar cal) |
|
-
-
Method Details
-
-
-
-
-
-
public static boolean isOnDate(
String d)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
public static void startOfDay(
Calendar cal)
-
public static void endOfDay(
Calendar cal)
-
public static void startOfMonth(
Calendar cal)
-
public static void endOfMonth(
Calendar cal)
-
public static int isDaylightSavings(
UTCDate date,
String timezone)
-