com.btobits.util.misc
Class DatetimeUtil
java.lang.Object
com.btobits.util.misc.DatetimeUtil
public class DatetimeUtil
- extends Object
Method Summary |
static byte[] |
formatDate(Calendar cal)
|
static byte[] |
formatLocalMktDate(Calendar cal)
|
static byte[] |
formatMonthYear(Calendar cal)
|
static byte[] |
formatMonthYear44(Calendar cal)
|
static byte[] |
formatTime(Calendar cal)
|
static byte[] |
formatUTCDate(Calendar cal)
|
static byte[] |
formatUTCTimeOnly(Calendar cal)
|
static byte[] |
formatUTCTimestamp(Calendar cal)
|
static boolean |
isInvalidDate(byte[] buf,
int off,
int len)
|
static boolean |
isInvalidMonthYear(byte[] buf,
int off,
int len)
|
static boolean |
isInvalidMonthYear44(byte[] buf,
int off,
int len)
|
static boolean |
isInvalidTime(byte[] buf,
int off,
int len)
|
static boolean |
isInvalidTimeOnly(byte[] buf,
int off,
int len)
|
static boolean |
isInvalidTimestamp(byte[] buf,
int off,
int len)
|
static Calendar |
parseDate(byte[] block,
Calendar calendar)
|
static Calendar |
parseLocalMktDate(byte[] block)
|
static Calendar |
parseMonthYear(byte[] block)
|
static Calendar |
parseMonthYear(byte[] block,
Calendar calendar)
|
static Calendar |
parseMonthYear44(byte[] block)
|
static Calendar |
parseMonthYear44(byte[] block,
Calendar calendar)
|
static Calendar |
parseTime(byte[] block)
|
static Calendar |
parseTime(byte[] block,
Calendar calendar)
|
static Calendar |
parseTimeOnly(byte[] block,
Calendar calendar)
|
static Calendar |
parseTimestamp(byte[] block,
Calendar calendar)
|
static Calendar |
parseUTCDate(byte[] block)
|
static Calendar |
parseUTCTimeOnly(byte[] block)
|
static Calendar |
parseUTCTimestamp(byte[] block)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UTC_TIMEZONE
public static final TimeZone UTC_TIMEZONE
LOCAL_TIMEZONE
public static final TimeZone LOCAL_TIMEZONE
DEF_LOCALE
public static final Locale DEF_LOCALE
DatetimeUtil
public DatetimeUtil()
isInvalidTimestamp
public static boolean isInvalidTimestamp(byte[] buf,
int off,
int len)
isInvalidTimeOnly
public static boolean isInvalidTimeOnly(byte[] buf,
int off,
int len)
isInvalidDate
public static boolean isInvalidDate(byte[] buf,
int off,
int len)
isInvalidMonthYear
public static boolean isInvalidMonthYear(byte[] buf,
int off,
int len)
isInvalidMonthYear44
public static boolean isInvalidMonthYear44(byte[] buf,
int off,
int len)
isInvalidTime
public static boolean isInvalidTime(byte[] buf,
int off,
int len)
parseTimestamp
public static Calendar parseTimestamp(byte[] block,
Calendar calendar)
parseUTCTimestamp
public static Calendar parseUTCTimestamp(byte[] block)
parseTimeOnly
public static Calendar parseTimeOnly(byte[] block,
Calendar calendar)
parseUTCTimeOnly
public static Calendar parseUTCTimeOnly(byte[] block)
parseDate
public static Calendar parseDate(byte[] block,
Calendar calendar)
parseUTCDate
public static Calendar parseUTCDate(byte[] block)
parseLocalMktDate
public static Calendar parseLocalMktDate(byte[] block)
parseMonthYear
public static Calendar parseMonthYear(byte[] block,
Calendar calendar)
parseMonthYear
public static Calendar parseMonthYear(byte[] block)
parseMonthYear44
public static Calendar parseMonthYear44(byte[] block,
Calendar calendar)
parseMonthYear44
public static Calendar parseMonthYear44(byte[] block)
parseTime
public static Calendar parseTime(byte[] block,
Calendar calendar)
parseTime
public static Calendar parseTime(byte[] block)
formatUTCTimestamp
public static byte[] formatUTCTimestamp(Calendar cal)
formatUTCTimeOnly
public static byte[] formatUTCTimeOnly(Calendar cal)
formatDate
public static byte[] formatDate(Calendar cal)
formatUTCDate
public static byte[] formatUTCDate(Calendar cal)
formatLocalMktDate
public static byte[] formatLocalMktDate(Calendar cal)
formatMonthYear
public static byte[] formatMonthYear(Calendar cal)
formatMonthYear44
public static byte[] formatMonthYear44(Calendar cal)
formatTime
public static byte[] formatTime(Calendar cal)
Copyright © 2000-2014 EPAM Systems. All Rights Reserved.