public class PackedDateTime extends Object
Constructor and Description |
---|
PackedDateTime(DateTimeColumn column) |
Modifier and Type | Method and Description |
---|---|
boolean |
AM()
Returns true if the time is in the AM or "before noon".
|
LocalDateTime |
asLocalDateTime() |
int |
date() |
int |
daysUntil(LocalDateTime packedDateTimeEnd) |
int |
daysUntil(long packedDateTimeEnd) |
PackedDateTime |
get(int rowNumber) |
byte |
getDayOfMonth() |
DayOfWeek |
getDayOfWeek() |
int |
getDayOfYear() |
byte |
getHour() |
long |
getMillisecondOfDay() |
short |
getMillisecondOfMinute() |
byte |
getMinute() |
int |
getMinuteOfDay() |
Month |
getMonth() |
byte |
getMonthValue() |
long |
getPackedValue() |
int |
getQuarter()
Returns the quarter of the year of the given date as an int from 1 to 4, or -1, if the argument is the
MISSING_VALUE for DateTimeColumn
|
byte |
getSecond() |
double |
getSecondOfDay() |
int |
getWeekOfYear() |
short |
getYear() |
long |
hoursUntil(LocalDateTime packedDateTimeEnd) |
long |
hoursUntil(long packedDateTimeEnd) |
boolean |
isAfter(LocalDateTime valueToTestAgainst) |
boolean |
isAfter(long valueToTestAgainst) |
boolean |
isBefore(LocalDateTime valueToTestAgainst) |
boolean |
isBefore(long valueToTestAgainst) |
boolean |
isEqualTo(LocalDateTime value) |
boolean |
isEqualTo(long value) |
boolean |
isFirstDayOfMonth() |
boolean |
isFriday() |
boolean |
isInApril() |
boolean |
isInAugust() |
boolean |
isInDecember() |
boolean |
isInFebruary() |
boolean |
isInJanuary() |
boolean |
isInJuly() |
boolean |
isInJune() |
boolean |
isInMarch() |
boolean |
isInMay() |
boolean |
isInNovember() |
boolean |
isInOctober() |
boolean |
isInQ1() |
boolean |
isInQ2() |
boolean |
isInQ3() |
boolean |
isInQ4() |
boolean |
isInSeptember() |
boolean |
isInYear(int year) |
boolean |
isLastDayOfMonth() |
boolean |
isLeapYear() |
boolean |
isMidnight() |
boolean |
isMonday() |
boolean |
isNoon() |
boolean |
isOnOrAfter(LocalDateTime valueToTestAgainst) |
boolean |
isOnOrAfter(long valueToTestAgainst) |
boolean |
isOnOrBefore(LocalDateTime valueToTestAgainst) |
boolean |
isOnOrBefore(long valueToTestAgainst) |
boolean |
isSaturday() |
boolean |
isSunday() |
boolean |
isThursday() |
boolean |
isTuesday() |
boolean |
isWednesday() |
int |
lengthOfMonth() |
int |
lengthOfYear() |
long |
minutesUntil(LocalDateTime packedDateTimeEnd) |
long |
minutesUntil(long packedDateTimeEnd) |
int |
monthsUntil(LocalDateTime packedDateTimeEnd) |
int |
monthsUntil(long packedDateTimeEnd) |
long |
ofEpochMilli(ZoneId zoneId) |
boolean |
PM()
Returns true if the time is in the PM or "after noon".
|
int |
time() |
long |
toEpochMilli(ZoneOffset offset) |
String |
toString() |
int |
weeksUntil(LocalDateTime packedDateTimeEnd) |
int |
weeksUntil(long packedDateTimeEnd) |
int |
yearsUntil(LocalDateTime packedDateEnd) |
int |
yearsUntil(long packedDateEnd) |
public PackedDateTime(DateTimeColumn column)
public PackedDateTime get(int rowNumber)
public long getPackedValue()
public LocalDateTime asLocalDateTime()
public byte getDayOfMonth()
public short getYear()
public byte getMonthValue()
public int date()
public int time()
public int getDayOfYear()
public int getWeekOfYear()
public boolean isLeapYear()
public Month getMonth()
public int lengthOfMonth()
public DayOfWeek getDayOfWeek()
public int getQuarter()
public boolean isInQ1()
public boolean isInQ2()
public boolean isInQ3()
public boolean isInQ4()
public boolean isAfter(long valueToTestAgainst)
public boolean isAfter(LocalDateTime valueToTestAgainst)
public boolean isBefore(long valueToTestAgainst)
public boolean isBefore(LocalDateTime valueToTestAgainst)
public boolean isSunday()
public boolean isMonday()
public boolean isTuesday()
public boolean isWednesday()
public boolean isThursday()
public boolean isFriday()
public boolean isSaturday()
public boolean isFirstDayOfMonth()
public boolean isInJanuary()
public boolean isInFebruary()
public boolean isInMarch()
public boolean isInApril()
public boolean isInMay()
public boolean isInJune()
public boolean isInJuly()
public boolean isInAugust()
public boolean isInSeptember()
public boolean isInOctober()
public boolean isInNovember()
public boolean isInDecember()
public boolean isLastDayOfMonth()
public boolean isInYear(int year)
public boolean isMidnight()
public boolean isNoon()
public boolean AM()
public boolean PM()
public int getMinuteOfDay()
public byte getHour()
public byte getMinute()
public byte getSecond()
public double getSecondOfDay()
public short getMillisecondOfMinute()
public long getMillisecondOfDay()
public long toEpochMilli(ZoneOffset offset)
public long ofEpochMilli(ZoneId zoneId)
public int lengthOfYear()
public long minutesUntil(long packedDateTimeEnd)
public long minutesUntil(LocalDateTime packedDateTimeEnd)
public long hoursUntil(long packedDateTimeEnd)
public long hoursUntil(LocalDateTime packedDateTimeEnd)
public int daysUntil(long packedDateTimeEnd)
public int daysUntil(LocalDateTime packedDateTimeEnd)
public int weeksUntil(long packedDateTimeEnd)
public int weeksUntil(LocalDateTime packedDateTimeEnd)
public int monthsUntil(long packedDateTimeEnd)
public int monthsUntil(LocalDateTime packedDateTimeEnd)
public int yearsUntil(long packedDateEnd)
public int yearsUntil(LocalDateTime packedDateEnd)
public boolean isEqualTo(long value)
public boolean isEqualTo(LocalDateTime value)
public boolean isOnOrAfter(long valueToTestAgainst)
public boolean isOnOrAfter(LocalDateTime valueToTestAgainst)
public boolean isOnOrBefore(long valueToTestAgainst)
public boolean isOnOrBefore(LocalDateTime valueToTestAgainst)
Copyright © 2018. All rights reserved.