public class TimezoneHelper extends Object
Constructor and Description |
---|
TimezoneHelper() |
Modifier and Type | Method and Description |
---|---|
static String |
formatDate(Date date,
java.time.ZoneId zoneId,
String pattern) |
static long |
getRezonedEpoch(Date incomingDate,
java.time.ZoneId zoneId) |
static String |
getUtcOffset(java.time.ZoneId zoneId,
Date referenceDate) |
public static long getRezonedEpoch(Date incomingDate, java.time.ZoneId zoneId) throws ParseException
ParseException
public static String formatDate(Date date, java.time.ZoneId zoneId, String pattern) throws ParseException
ParseException
Copyright © 2020. All rights reserved.