Package | Description |
---|---|
com.asakusafw.directio.hive.util |
Utilities for Hive.
|
com.asakusafw.runtime.value |
Classes for runtime values.
|
Modifier and Type | Method and Description |
---|---|
static int |
TemporalUtil.getDaysSinceEpoch(Date date)
Returns the day number since the epoch date.
|
static int |
TemporalUtil.getJulianDayNumber(Date date)
Returns the Julian day number of the date.
|
static long |
TemporalUtil.getTimeOfDayNanos(Date date)
Returns the nano time of the julian day.
|
Modifier and Type | Method and Description |
---|---|
Date |
DateOption.get()
Returns the value which this object represents.
|
Date |
DateOption.or(Date alternate)
Returns the value which this object represents.
|
static Date |
Date.valueOf(String dateString,
Date.Format format)
Parses the target string and returns the corresponding date object.
|
static Date |
Date.valueOf(StringOption dateString,
Date.Format format)
Parses the target string and returns the corresponding date as the elapsed days from
0001/01/01 (YYYY/MM/DD) . |
Modifier and Type | Method and Description |
---|---|
int |
Date.compareTo(Date o) |
boolean |
DateOption.has(Date other)
Returns whether both this object and the specified value represents an equivalent value or not.
|
DateOption |
DateOption.modify(Date newValue)
Deprecated.
Application developer should not use this method directly
|
Date |
DateOption.or(Date alternate)
Returns the value which this object represents.
|
Constructor and Description |
---|
DateOption(Date valueOrNull)
Creates a new instance which represents the specified value.
|
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.