|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object org.op4j.jodatime.functions.FnLocalDate
public final class FnLocalDate
Method Summary | ||
---|---|---|
static
|
calendarToLocalDate()
It converts a Calendar into a LocalDate
|
|
static
|
calendarToLocalDate(org.joda.time.Chronology chronology)
It converts a Calendar into a LocalDate with the given Chronology
|
|
static
|
calendarToLocalDate(org.joda.time.DateTimeZone dateTimeZone)
It converts a Calendar into a LocalDate in the given DateTimeZone
|
|
static
|
dateToLocalDate()
The input Date is converted into a LocalDate
|
|
static
|
dateToLocalDate(org.joda.time.Chronology chronology)
The input Date is converted into a LocalDate with the given
Chronology
|
|
static
|
dateToLocalDate(org.joda.time.DateTimeZone dateTimeZone)
The input Date is converted into a LocalDate configured with the given
DateTimeZone
|
|
static org.op4j.functions.Function<Integer[],org.joda.time.LocalDate> |
integerFieldArrayToLocalDate()
A LocalDate is created from the given integer array. |
|
static org.op4j.functions.Function<Integer[],org.joda.time.LocalDate> |
integerFieldArrayToLocalDate(org.joda.time.Chronology chronology)
A LocalDate is created from the given integer array. |
|
static org.op4j.functions.Function<Collection<Integer>,org.joda.time.LocalDate> |
integerFieldCollectionToLocalDate()
A LocalDate is created from the given Integer Collection . |
|
static org.op4j.functions.Function<Collection<Integer>,org.joda.time.LocalDate> |
integerFieldCollectionToLocalDate(org.joda.time.Chronology chronology)
A LocalDate is created from the given Integer Collection . |
|
static org.op4j.functions.Function<Long,org.joda.time.LocalDate> |
longToLocalDate()
The input Long representing the time in milliseconds is converted into a LocalDate
|
|
static org.op4j.functions.Function<Long,org.joda.time.LocalDate> |
longToLocalDate(org.joda.time.Chronology chronology)
The input Long representing the time in milliseconds is converted into a LocalDate with the given
Chronology
|
|
static org.op4j.functions.Function<Long,org.joda.time.LocalDate> |
longToLocalDate(org.joda.time.DateTimeZone dateTimeZone)
The input Long representing the time in milliseconds is converted into a LocalDate in the given
DateTimeZone
|
|
static org.op4j.functions.Function<String[],org.joda.time.LocalDate> |
strFieldArrayToLocalDate()
A LocalDate is created from the given string array. |
|
static org.op4j.functions.Function<String[],org.joda.time.LocalDate> |
strFieldArrayToLocalDate(org.joda.time.Chronology chronology)
A LocalDate is created from the given string array. |
|
static org.op4j.functions.Function<Collection<String>,org.joda.time.LocalDate> |
strFieldCollectionToLocalDate()
A LocalDate is created from the given String Collection . |
|
static org.op4j.functions.Function<Collection<String>,org.joda.time.LocalDate> |
strFieldCollectionToLocalDate(org.joda.time.Chronology chronology)
A LocalDate is created from the input String Collection . |
|
static org.op4j.functions.Function<String,org.joda.time.LocalDate> |
strToLocalDate(String pattern)
It converts the given String into a LocalDate using the given pattern parameter. |
|
static org.op4j.functions.Function<String,org.joda.time.LocalDate> |
strToLocalDate(String pattern,
org.joda.time.Chronology chronology)
It converts the input String into a LocalDate using the given pattern parameter and with the given
Chronology . |
|
static org.op4j.functions.Function<String,org.joda.time.LocalDate> |
strToLocalDate(String pattern,
org.joda.time.DateTimeZone dateTimeZone)
It converts the input String into a LocalDate using the given pattern parameter and with the given
DateTimeZone . |
|
static org.op4j.functions.Function<String,org.joda.time.LocalDate> |
strToLocalDate(String pattern,
Locale locale)
It converts the input String into a LocalDate using the given pattern and
Locale parameters
|
|
static org.op4j.functions.Function<String,org.joda.time.LocalDate> |
strToLocalDate(String pattern,
Locale locale,
org.joda.time.Chronology chronology)
It converts the input String into a LocalDate using the given pattern and Locale parameters. |
|
static org.op4j.functions.Function<String,org.joda.time.LocalDate> |
strToLocalDate(String pattern,
Locale locale,
org.joda.time.DateTimeZone dateTimeZone)
It converts the input String into a LocalDate using the given pattern and Locale parameters. |
|
static org.op4j.functions.Function<String,org.joda.time.LocalDate> |
strToLocalDate(String pattern,
String locale)
It converts the input String into a LocalDate using the given pattern and
Locale parameters
|
|
static org.op4j.functions.Function<String,org.joda.time.LocalDate> |
strToLocalDate(String pattern,
String locale,
org.joda.time.Chronology chronology)
It converts the input String into a LocalDate using the given pattern and Locale parameters. |
|
static org.op4j.functions.Function<String,org.joda.time.LocalDate> |
strToLocalDate(String pattern,
String locale,
org.joda.time.DateTimeZone dateTimeZone)
It converts the input String into a LocalDate using the given pattern and Locale parameters. |
|
static org.op4j.functions.Function<Timestamp,org.joda.time.LocalDate> |
timestampToLocalDate()
The input Timestamp is converted into a LocalDate
|
|
static org.op4j.functions.Function<Timestamp,org.joda.time.LocalDate> |
timestampToLocalDate(org.joda.time.Chronology chronology)
The input Timestamp is converted into a LocalDate with the given
Chronology
|
|
static org.op4j.functions.Function<Timestamp,org.joda.time.LocalDate> |
timestampToLocalDate(org.joda.time.DateTimeZone dateTimeZone)
The input Timestamp is converted into a LocalDate in the given
DateTimeZone
|
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final org.op4j.functions.Function<String,org.joda.time.LocalDate> strToLocalDate(String pattern)
It converts the given String
into a LocalDate
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
LocalDate
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.LocalDate> strToLocalDate(String pattern, org.joda.time.DateTimeZone dateTimeZone)
It converts the input String
into a LocalDate
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
LocalDate
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.LocalDate> strToLocalDate(String pattern, org.joda.time.Chronology chronology)
It converts the input String
into a LocalDate
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
LocalDate
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.LocalDate> strToLocalDate(String pattern, Locale locale)
It converts the input String
into a LocalDate
using the given pattern and
Locale
parameters
pattern
- string with the format of the input Stringlocale
- Locale
to be used
LocalDate
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.LocalDate> strToLocalDate(String pattern, String locale)
It converts the input String
into a LocalDate
using the given pattern and
Locale
parameters
pattern
- string with the format of the input Stringlocale
- Locale
to be used
LocalDate
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.LocalDate> strToLocalDate(String pattern, Locale locale, org.joda.time.DateTimeZone dateTimeZone)
It converts the input String
into a LocalDate
using the given pattern and Locale
parameters.
The DateTime
is created with the specified DateTimeZone
pattern
- string with the format of the input Stringlocale
- Locale
to be useddateTimeZone
- the the time zone (DateTimeZone
) to be used
LocalDate
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.LocalDate> strToLocalDate(String pattern, String locale, org.joda.time.DateTimeZone dateTimeZone)
It converts the input String
into a LocalDate
using the given pattern and Locale
parameters.
The DateTime
is created with the specified DateTimeZone
pattern
- string with the format of the input Stringlocale
- Locale
to be useddateTimeZone
- the the time zone (DateTimeZone
) to be used
LocalDate
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.LocalDate> strToLocalDate(String pattern, Locale locale, org.joda.time.Chronology chronology)
It converts the input String
into a LocalDate
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
LocalDate
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.LocalDate> strToLocalDate(String pattern, String locale, org.joda.time.Chronology chronology)
It converts the input String
into a LocalDate
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
LocalDate
created from the input and argumentspublic static final <T extends Date> org.op4j.functions.Function<T,org.joda.time.LocalDate> dateToLocalDate()
The input Date
is converted into a LocalDate
LocalDate
created from the inputpublic static final <T extends Date> org.op4j.functions.Function<T,org.joda.time.LocalDate> dateToLocalDate(org.joda.time.DateTimeZone dateTimeZone)
The input Date
is converted into a LocalDate
configured with the given
DateTimeZone
dateTimeZone
- the the time zone (DateTimeZone
) to be used
LocalDate
created from the input and argumentspublic static final <T extends Date> org.op4j.functions.Function<T,org.joda.time.LocalDate> dateToLocalDate(org.joda.time.Chronology chronology)
The input Date
is converted into a LocalDate
with the given
Chronology
chronology
- Chronology
to be used
LocalDate
created from the input and argumentspublic static final org.op4j.functions.Function<Timestamp,org.joda.time.LocalDate> timestampToLocalDate()
The input Timestamp
is converted into a LocalDate
LocalDate
created from the inputpublic static final org.op4j.functions.Function<Timestamp,org.joda.time.LocalDate> timestampToLocalDate(org.joda.time.DateTimeZone dateTimeZone)
The input Timestamp
is converted into a LocalDate
in the given
DateTimeZone
dateTimeZone
- the the time zone (DateTimeZone
) to be used
LocalDate
created from the input and argumentspublic static final org.op4j.functions.Function<Timestamp,org.joda.time.LocalDate> timestampToLocalDate(org.joda.time.Chronology chronology)
The input Timestamp
is converted into a LocalDate
with the given
Chronology
chronology
- Chronology
to be used
LocalDate
created from the input and argumentspublic static final org.op4j.functions.Function<Long,org.joda.time.LocalDate> longToLocalDate()
The input Long
representing the time in milliseconds is converted into a LocalDate
LocalDate
created from the inputpublic static final org.op4j.functions.Function<Long,org.joda.time.LocalDate> longToLocalDate(org.joda.time.DateTimeZone dateTimeZone)
The input Long
representing the time in milliseconds is converted into a LocalDate
in the given
DateTimeZone
dateTimeZone
- the the time zone (DateTimeZone
) to be used
LocalDate
created from the input and argumentspublic static final org.op4j.functions.Function<Long,org.joda.time.LocalDate> longToLocalDate(org.joda.time.Chronology chronology)
The input Long
representing the time in milliseconds is converted into a LocalDate
with the given
Chronology
chronology
- Chronology
to be used
LocalDate
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<Integer>,org.joda.time.LocalDate> integerFieldCollectionToLocalDate()
A LocalDate
is created from the given Integer
Collection
.
The valid input Collection<Integer> are:
LocalDate
created from the inputpublic static final org.op4j.functions.Function<Collection<Integer>,org.joda.time.LocalDate> integerFieldCollectionToLocalDate(org.joda.time.Chronology chronology)
A LocalDate
is created from the given Integer
Collection
.
The output LocalDate
will be created with the given Chronology
The valid input Collection<Integer> are:
chronology
- Chronology
to be used
LocalDate
created from the input and argumentspublic static final org.op4j.functions.Function<Integer[],org.joda.time.LocalDate> integerFieldArrayToLocalDate()
A LocalDate
is created from the given integer array.
The valid input Integer[] are:
LocalDate
created from the inputpublic static final org.op4j.functions.Function<Integer[],org.joda.time.LocalDate> integerFieldArrayToLocalDate(org.joda.time.Chronology chronology)
A LocalDate
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
LocalDate
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<String>,org.joda.time.LocalDate> strFieldCollectionToLocalDate()
A LocalDate
is created from the given String
Collection
.
The valid input Collection<String> are:
LocalDate
created from the inputpublic static final org.op4j.functions.Function<Collection<String>,org.joda.time.LocalDate> strFieldCollectionToLocalDate(org.joda.time.Chronology chronology)
A LocalDate
is created from the input String
Collection
.
The result will be created with the given Chronology
The valid input Collection<String> are:
chronology
- Chronology
to be used
LocalDate
created from the input and argumentspublic static final org.op4j.functions.Function<String[],org.joda.time.LocalDate> strFieldArrayToLocalDate()
A LocalDate
is created from the given string array.
The valid input String[] are:
LocalDate
created from the inputpublic static final org.op4j.functions.Function<String[],org.joda.time.LocalDate> strFieldArrayToLocalDate(org.joda.time.Chronology chronology)
A LocalDate
is created from the given string array.
The output LocalDate
will be created with the specified Chronology
The valid input String[] are:
chronology
- Chronology
to be used
LocalDate
created from the input and argumentspublic static final <T extends Calendar> org.op4j.functions.Function<T,org.joda.time.LocalDate> calendarToLocalDate()
It converts a Calendar
into a LocalDate
LocalDate
created from the inputpublic static final <T extends Calendar> org.op4j.functions.Function<T,org.joda.time.LocalDate> calendarToLocalDate(org.joda.time.DateTimeZone dateTimeZone)
It converts a Calendar
into a LocalDate
in the given DateTimeZone
dateTimeZone
- the the time zone (DateTimeZone
) to be used
LocalDate
created from the input and argumentspublic static final <T extends Calendar> org.op4j.functions.Function<T,org.joda.time.LocalDate> calendarToLocalDate(org.joda.time.Chronology chronology)
It converts a Calendar
into a LocalDate
with the given Chronology
chronology
- Chronology
to be used
LocalDate
created from the input and arguments
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |