|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.op4j.jodatime.functions.FnToDateTime
public final class FnToDateTime
| Method Summary | ||
|---|---|---|
static
|
fromCalendar()
It converts a Calendar into a DateTime
|
|
static
|
fromCalendar(org.joda.time.Chronology chronology)
It converts a Calendar into a DateTime with the given Chronology
|
|
static
|
fromCalendar(org.joda.time.DateTimeZone dateTimeZone)
It converts a Calendar into a DateTime in the given DateTimeZone
|
|
static
|
fromDate()
The input Date is converted into a DateTime
|
|
static
|
fromDate(org.joda.time.Chronology chronology)
The input Date is converted into a DateTime with the given
Chronology
|
|
static
|
fromDate(org.joda.time.DateTimeZone dateTimeZone)
The input Date is converted into a DateTime configured with the given
DateTimeZone
|
|
static org.op4j.functions.Function<java.lang.Integer[],org.joda.time.DateTime> |
fromIntegerFieldArray()
A DateTime is created from the given Integer array. |
|
static org.op4j.functions.Function<java.lang.Integer[],org.joda.time.DateTime> |
fromIntegerFieldArray(org.joda.time.Chronology chronology)
A DateTime is created from the given Integer array. |
|
static org.op4j.functions.Function<java.util.Collection<java.lang.Integer>,org.joda.time.DateTime> |
fromIntegerFieldCollection()
A DateTime is created from the input Integer Collection. |
|
static org.op4j.functions.Function<java.util.Collection<java.lang.Integer>,org.joda.time.DateTime> |
fromIntegerFieldCollection(org.joda.time.Chronology chronology)
A DateTime is created from the input Integer Collection. |
|
static org.op4j.functions.Function<java.lang.Long,org.joda.time.DateTime> |
fromLong()
The input Long representing the time in milliseconds is converted into a DateTime
|
|
static org.op4j.functions.Function<java.lang.Long,org.joda.time.DateTime> |
fromLong(org.joda.time.Chronology chronology)
The input Long representing the time in milliseconds is converted into a DateTime with the given
Chronology
|
|
static org.op4j.functions.Function<java.lang.Long,org.joda.time.DateTime> |
fromLong(org.joda.time.DateTimeZone dateTimeZone)
The input Long representing the time in milliseconds is converted into a DateTime in the given
DateTimeZone
|
|
static org.op4j.functions.Function<java.lang.String,org.joda.time.DateTime> |
fromString(java.lang.String pattern)
It converts the input String into a DateTime using the
given pattern parameter. |
|
static org.op4j.functions.Function<java.lang.String,org.joda.time.DateTime> |
fromString(java.lang.String pattern,
org.joda.time.Chronology chronology)
It converts the input String into a DateTime using the given pattern parameter and with the given
Chronology. |
|
static org.op4j.functions.Function<java.lang.String,org.joda.time.DateTime> |
fromString(java.lang.String pattern,
org.joda.time.DateTimeZone dateTimeZone)
It converts the input String into a DateTime using the given pattern parameter and with the given
DateTimeZone. |
|
static org.op4j.functions.Function<java.lang.String,org.joda.time.DateTime> |
fromString(java.lang.String pattern,
java.util.Locale locale)
It converts the input String into a DateTime using the given pattern and
Locale parameters
|
|
static org.op4j.functions.Function<java.lang.String,org.joda.time.DateTime> |
fromString(java.lang.String pattern,
java.util.Locale locale,
org.joda.time.Chronology chronology)
It converts the input String into a DateTime using the given pattern and Locale parameters. |
|
static org.op4j.functions.Function<java.lang.String,org.joda.time.DateTime> |
fromString(java.lang.String pattern,
java.util.Locale locale,
org.joda.time.DateTimeZone dateTimeZone)
It converts the given String into a DateTime using the given pattern and Locale parameters. |
|
static org.op4j.functions.Function<java.lang.String,org.joda.time.DateTime> |
fromString(java.lang.String pattern,
java.lang.String locale)
It converts the given String into a DateTime using the given pattern and
Locale parameters
|
|
static org.op4j.functions.Function<java.lang.String,org.joda.time.DateTime> |
fromString(java.lang.String pattern,
java.lang.String locale,
org.joda.time.Chronology chronology)
It converts the input String into a DateTime using the given pattern and Locale parameters. |
|
static org.op4j.functions.Function<java.lang.String,org.joda.time.DateTime> |
fromString(java.lang.String pattern,
java.lang.String locale,
org.joda.time.DateTimeZone dateTimeZone)
It converts the given String into a DateTime using the given pattern and Locale parameters. |
|
static org.op4j.functions.Function<java.lang.String[],org.joda.time.DateTime> |
fromStringFieldArray()
A DateTime is created from the given String array. |
|
static org.op4j.functions.Function<java.lang.String[],org.joda.time.DateTime> |
fromStringFieldArray(org.joda.time.Chronology chronology)
A DateTime is created from the given String array. |
|
static org.op4j.functions.Function<java.util.Collection<java.lang.String>,org.joda.time.DateTime> |
fromStringFieldCollection()
A DateTime is created from the given String Collection. |
|
static org.op4j.functions.Function<java.util.Collection<java.lang.String>,org.joda.time.DateTime> |
fromStringFieldCollection(org.joda.time.Chronology chronology)
A DateTime is created from the given String Collection. |
|
static org.op4j.functions.Function<java.sql.Timestamp,org.joda.time.DateTime> |
fromTimestamp()
The input Timestamp is converted into a DateTime
|
|
static org.op4j.functions.Function<java.sql.Timestamp,org.joda.time.DateTime> |
fromTimestamp(org.joda.time.Chronology chronology)
The input Timestamp is converted into a DateTime with the given
Chronology
|
|
static org.op4j.functions.Function<java.sql.Timestamp,org.joda.time.DateTime> |
fromTimestamp(org.joda.time.DateTimeZone dateTimeZone)
The input Timestamp is converted into a DateTime in the given
DateTimeZone
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final org.op4j.functions.Function<java.lang.String,org.joda.time.DateTime> fromString(java.lang.String pattern)
It converts the input String into a DateTime using the
given pattern parameter. If the pattern includes either, the name of
the month or day of week, a conversion accepting a Locale must
be used instead
pattern - string with the format of the input String
DateTime created from the input and arguments
public static final org.op4j.functions.Function<java.lang.String,org.joda.time.DateTime> fromString(java.lang.String pattern,
org.joda.time.DateTimeZone dateTimeZone)
It converts the input String into a DateTime using the given pattern parameter and with the given
DateTimeZone. If the pattern includes either, the name of the month or day of week, a conversion
accepting a Locale must be used instead
pattern - string with the format of the input StringdateTimeZone - the the time zone (DateTimeZone) to be used
DateTime created from the input and arguments
public static final org.op4j.functions.Function<java.lang.String,org.joda.time.DateTime> fromString(java.lang.String pattern,
org.joda.time.Chronology chronology)
It converts the input String into a DateTime using the given pattern parameter and with the given
Chronology. If the pattern includes either, the name of the month or day of week, a conversion
accepting a Locale must be used instead
pattern - string with the format of the input Stringchronology - Chronology to be used
DateTime created from the input and arguments
public static final org.op4j.functions.Function<java.lang.String,org.joda.time.DateTime> fromString(java.lang.String pattern,
java.util.Locale locale)
It converts the input String into a DateTime using the given pattern and
Locale parameters
pattern - string with the format of the input Stringlocale - Locale to be used
DateTime created from the input and arguments
public static final org.op4j.functions.Function<java.lang.String,org.joda.time.DateTime> fromString(java.lang.String pattern,
java.lang.String locale)
It converts the given String into a DateTime using the given pattern and
Locale parameters
pattern - string with the format of the input Stringlocale - Locale to be used
DateTime created from the input and arguments
public static final org.op4j.functions.Function<java.lang.String,org.joda.time.DateTime> fromString(java.lang.String pattern,
java.util.Locale locale,
org.joda.time.DateTimeZone dateTimeZone)
It converts the given String into a DateTime using the given pattern and Locale parameters.
The DateTime is configured with the given DateTimeZone
pattern - string with the format of the input Stringlocale - Locale to be useddateTimeZone - the the time zone (DateTimeZone) to be used
DateTime created from the input and arguments
public static final org.op4j.functions.Function<java.lang.String,org.joda.time.DateTime> fromString(java.lang.String pattern,
java.lang.String locale,
org.joda.time.DateTimeZone dateTimeZone)
It converts the given String into a DateTime using the given pattern and Locale parameters.
The DateTime is configured with the given DateTimeZone
pattern - string with the format of the input Stringlocale - Locale to be useddateTimeZone - the the time zone (DateTimeZone) to be used
DateTime created from the input and arguments
public static final org.op4j.functions.Function<java.lang.String,org.joda.time.DateTime> fromString(java.lang.String pattern,
java.util.Locale locale,
org.joda.time.Chronology chronology)
It converts the input String into a DateTime using the given pattern and Locale parameters.
The DateTime will be created with the given Chronology
pattern - string with the format of the input Stringlocale - Locale to be usedchronology - Chronology to be used
DateTime created from the input and arguments
public static final org.op4j.functions.Function<java.lang.String,org.joda.time.DateTime> fromString(java.lang.String pattern,
java.lang.String locale,
org.joda.time.Chronology chronology)
It converts the input String into a DateTime using the given pattern and Locale parameters.
The DateTime will be created with the given Chronology
pattern - string with the format of the input Stringlocale - Locale to be usedchronology - Chronology to be used
DateTime created from the input and argumentspublic static final <T extends java.util.Date> org.op4j.functions.Function<T,org.joda.time.DateTime> fromDate()
The input Date is converted into a DateTime
DateTime created from the inputpublic static final <T extends java.util.Date> org.op4j.functions.Function<T,org.joda.time.DateTime> fromDate(org.joda.time.DateTimeZone dateTimeZone)
The input Date is converted into a DateTime configured with the given
DateTimeZone
dateTimeZone - the the time zone (DateTimeZone) to be used
DateTime created from the input and argumentspublic static final <T extends java.util.Date> org.op4j.functions.Function<T,org.joda.time.DateTime> fromDate(org.joda.time.Chronology chronology)
The input Date is converted into a DateTime with the given
Chronology
chronology - Chronology to be used
DateTime created from the input and argumentspublic static final org.op4j.functions.Function<java.sql.Timestamp,org.joda.time.DateTime> fromTimestamp()
The input Timestamp is converted into a DateTime
DateTime created from the inputpublic static final org.op4j.functions.Function<java.sql.Timestamp,org.joda.time.DateTime> fromTimestamp(org.joda.time.DateTimeZone dateTimeZone)
The input Timestamp is converted into a DateTime in the given
DateTimeZone
dateTimeZone - the the time zone (DateTimeZone) to be used
DateTime created from the input and argumentspublic static final org.op4j.functions.Function<java.sql.Timestamp,org.joda.time.DateTime> fromTimestamp(org.joda.time.Chronology chronology)
The input Timestamp is converted into a DateTime with the given
Chronology
chronology - Chronology to be used
DateTime created from the input and argumentspublic static final org.op4j.functions.Function<java.lang.Long,org.joda.time.DateTime> fromLong()
The input Long representing the time in milliseconds is converted into a DateTime
DateTime created from the inputpublic static final org.op4j.functions.Function<java.lang.Long,org.joda.time.DateTime> fromLong(org.joda.time.DateTimeZone dateTimeZone)
The input Long representing the time in milliseconds is converted into a DateTime in the given
DateTimeZone
dateTimeZone - the the time zone (DateTimeZone) to be used
DateTime created from the input and argumentspublic static final org.op4j.functions.Function<java.lang.Long,org.joda.time.DateTime> fromLong(org.joda.time.Chronology chronology)
The input Long representing the time in milliseconds is converted into a DateTime with the given
Chronology
chronology - Chronology to be used
DateTime created from the input and argumentspublic static final org.op4j.functions.Function<java.util.Collection<java.lang.Integer>,org.joda.time.DateTime> fromIntegerFieldCollection()
A DateTime is created from the input Integer Collection.
The valid input Collection<Integer> are:
DateTime created from the inputpublic static final org.op4j.functions.Function<java.util.Collection<java.lang.Integer>,org.joda.time.DateTime> fromIntegerFieldCollection(org.joda.time.Chronology chronology)
A DateTime is created from the input Integer Collection.
The result will be created with the given Chronology
The valid input Collection<Integer> are:
chronology - Chronology to be used
DateTime created from the input and argumentspublic static final org.op4j.functions.Function<java.lang.Integer[],org.joda.time.DateTime> fromIntegerFieldArray()
A DateTime is created from the given Integer array.
The valid input Integer[] are:
DateTime created from the inputpublic static final org.op4j.functions.Function<java.lang.Integer[],org.joda.time.DateTime> fromIntegerFieldArray(org.joda.time.Chronology chronology)
A DateTime is created from the given Integer array.
The result will be created with the given Chronology
The valid input Integer[] are:
chronology - Chronology to be used
DateTime created from the input and argumentspublic static final org.op4j.functions.Function<java.util.Collection<java.lang.String>,org.joda.time.DateTime> fromStringFieldCollection()
A DateTime is created from the given String Collection.
The valid input Collection<String> are:
DateTime created from the inputpublic static final org.op4j.functions.Function<java.util.Collection<java.lang.String>,org.joda.time.DateTime> fromStringFieldCollection(org.joda.time.Chronology chronology)
A DateTime is created from the given String Collection.
The result will be created with the given Chronology
The valid input Collection<String> are:
chronology - Chronology to be used
DateTime created from the input and argumentspublic static final org.op4j.functions.Function<java.lang.String[],org.joda.time.DateTime> fromStringFieldArray()
A DateTime is created from the given String array.
The valid input String[] are:
DateTime created from the inputpublic static final org.op4j.functions.Function<java.lang.String[],org.joda.time.DateTime> fromStringFieldArray(org.joda.time.Chronology chronology)
A DateTime is created from the given String array.
The result will be created with the given Chronology
The valid input String[] are:
chronology - Chronology to be used
DateTime created from the input and argumentspublic static final <T extends java.util.Calendar> org.op4j.functions.Function<T,org.joda.time.DateTime> fromCalendar()
It converts a Calendar into a DateTime
DateTime created from the inputpublic static final <T extends java.util.Calendar> org.op4j.functions.Function<T,org.joda.time.DateTime> fromCalendar(org.joda.time.DateTimeZone dateTimeZone)
It converts a Calendar into a DateTime in the given DateTimeZone
dateTimeZone - the the time zone (DateTimeZone) to be used
DateTime created from the input and argumentspublic static final <T extends java.util.Calendar> org.op4j.functions.Function<T,org.joda.time.DateTime> fromCalendar(org.joda.time.Chronology chronology)
It converts a Calendar into a DateTime with the given Chronology
chronology - Chronology to be used
DateTime created from the input and arguments
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||