public final class SaDateHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static Date |
convertLocalToUTC(Date date) |
static Calendar |
getCalendar(Date date)
Get calendar from date.
|
static String |
getDateString(Calendar cal)
Creates a ISO string from calendar.
|
static String |
getDateString(Date date)
Creates a ISO date string.
|
static Date |
getUTCDateTime() |
static Calendar |
parseCalendar(String isoString)
Parse an ISO string.
|
static Date |
parseDate(String isoString)
Parse an ISO string.
|
public static Calendar getCalendar(Date date)
date - Datepublic static String getDateString(Date date)
date - Datepublic static String getDateString(Calendar cal)
cal - Calendarpublic static Calendar parseCalendar(String isoString)
isoString - ISO stringpublic static Date parseDate(String isoString)
isoString - ISO stringpublic static Date getUTCDateTime()
Date containing the current date and time in UTC timezoneCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.