DateTimeUtils instead.@Deprecated public class DateDataUtil extends Object
DateTokenConverter| Modifier and Type | Field and Description |
|---|---|
static TimeZone |
LOCALTZ
Deprecated.
since 6.1; use
DateTimeUtil#LOCALTZ
instead. |
| Modifier and Type | Method and Description |
|---|---|
static long |
dateToEpochDays(Date date,
TimeZone tz)
Deprecated.
since 6.1; use
DateTimeUtil#toDaysSinceEpoch(java.util.Date,TimeZone)
instead. |
static Date |
epochDaysToDate(long epochDays,
TimeZone tz)
Deprecated.
since 6.1; use
DateTimeUtil#toDate(long,TimeZone)
instead. |
static long |
epochDaysToMillis(long epochDays,
TimeZone tz)
Deprecated.
since 6.1; use
DateTimeUtil#epochDaysToMillis(long,TimeZone)
instead. |
static long |
millisToEpochDays(long millis,
TimeZone tz)
Deprecated.
since 6.1; use
DateTimeUtil#toDaysSinceEpoch(long,TimeZone)
instead. |
static DateToken |
parse(String dateText)
Deprecated.
since 6.1; use
DateToken.parse(String)
instead. |
@Deprecated public static final TimeZone LOCALTZ
DateTimeUtil#LOCALTZ
instead.TimeZone.getDefault().@Deprecated public static Date epochDaysToDate(long epochDays, TimeZone tz)
DateTimeUtil#toDate(long,TimeZone)
instead.epochDays - the date in epoch days to converttz - the time zone to which the resulting timestamp
should be relative@Deprecated public static long epochDaysToMillis(long epochDays, TimeZone tz)
DateTimeUtil#epochDaysToMillis(long,TimeZone)
instead.epochDays - the date in epoch days to converttz - the time zone to which the resulting timestamp
should be relative@Deprecated public static long dateToEpochDays(Date date, TimeZone tz)
DateTimeUtil#toDaysSinceEpoch(java.util.Date,TimeZone)
instead.date - the Java timestamp to converttz - the time zone to which the timestamp is relative@Deprecated public static long millisToEpochDays(long millis, TimeZone tz)
DateTimeUtil#toDaysSinceEpoch(long,TimeZone)
instead.millis - the Java epoch time to converttz - the time zone to which the timestamp is relative@Deprecated public static DateToken parse(String dateText)
DateToken.parse(String)
instead.dateText - an ISO 8601 timestamp valueDateToken,
or null if dateText is nullDateTokenConverter.set(String)Copyright © 2021 Actian Corporation. All rights reserved.