|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object org.op4j.jodatime.functions.FnLocalTime
public final class FnLocalTime
Method Summary | ||
---|---|---|
static
|
calendarToLocalTime()
It converts a Calendar into a LocalTime
|
|
static
|
calendarToLocalTime(org.joda.time.Chronology chronology)
It converts a Calendar into a LocalTime with the given Chronology
|
|
static
|
calendarToLocalTime(org.joda.time.DateTimeZone dateTimeZone)
It converts a Calendar into a LocalTime in the given DateTimeZone
|
|
static
|
dateToLocalTime()
The given Date is converted into a LocalTime
|
|
static
|
dateToLocalTime(org.joda.time.Chronology chronology)
The given Date is converted into a LocalTime with the given Chronology
|
|
static
|
dateToLocalTime(org.joda.time.DateTimeZone dateTimeZone)
The given Date is converted into a LocalTime configured with the given DateTimeZone
|
|
static org.op4j.functions.Function<Integer[],org.joda.time.LocalTime> |
integerFieldArrayToLocalTime()
A LocalTime is created from the given Integer Array. |
|
static org.op4j.functions.Function<Integer[],org.joda.time.LocalTime> |
integerFieldArrayToLocalTime(org.joda.time.Chronology chronology)
A LocalTime is created from the given Integer array with the specified Chronology . |
|
static org.op4j.functions.Function<Collection<Integer>,org.joda.time.LocalTime> |
integerFieldCollectionToLocalTime()
A LocalTime is created from the given Integer Collection . |
|
static org.op4j.functions.Function<Collection<Integer>,org.joda.time.LocalTime> |
integerFieldCollectionToLocalTime(org.joda.time.Chronology chronology)
A LocalTime is created from the given Integer Collection with the specified
Chronology . |
|
static org.op4j.functions.Function<Long,org.joda.time.LocalTime> |
longToLocalTime()
The given long representing the time in milliseconds is converted into a LocalTime
|
|
static org.op4j.functions.Function<Long,org.joda.time.LocalTime> |
longToLocalTime(org.joda.time.Chronology chronology)
The given long representing the time in milliseconds is converted into a LocalTime with the given Chronology
|
|
static org.op4j.functions.Function<Long,org.joda.time.LocalTime> |
longToLocalTime(org.joda.time.DateTimeZone dateTimeZone)
The given long representing the time in milliseconds is converted into a LocalTime in the given DateTimeZone
|
|
static org.op4j.functions.Function<String[],org.joda.time.LocalTime> |
strFieldArrayToLocalTime()
A LocalTime is created from the given String array. |
|
static org.op4j.functions.Function<String[],org.joda.time.LocalTime> |
strFieldArrayToLocalTime(org.joda.time.Chronology chronology)
A LocalTime is created from the given String array with the specified Chronology
The valid input String[] represent:
hour (minute, second and millisecond will be set to 0 in the output LocalTime )
hour, minute (second and millisecond will be set to 0 in the output LocalTime )
hour, minute, second (millisecond will be set to 0 in the output LocalTime )
hour, minute, second, millisecond
|
|
static org.op4j.functions.Function<Collection<String>,org.joda.time.LocalTime> |
strFieldCollectionToLocalTime()
A LocalTime is created from the given String Collection . |
|
static org.op4j.functions.Function<Collection<String>,org.joda.time.LocalTime> |
strFieldCollectionToLocalTime(org.joda.time.Chronology chronology)
A LocalTime is created from the given String Collection with the specified
Chronology
The valid input Collection<String> represent:
hour (minute, second and millisecond will be set to 0 in the output LocalTime )
hour, minute (second and millisecond will be set to 0 in the output LocalTime )
hour, minute, second (millisecond will be set to 0 in the output LocalTime )
hour, minute, second, millisecond
|
|
static org.op4j.functions.Function<String,org.joda.time.LocalTime> |
strToLocalTime(String pattern)
It converts the given String into a LocalTime using the given pattern parameter. |
|
static org.op4j.functions.Function<String,org.joda.time.LocalTime> |
strToLocalTime(String pattern,
org.joda.time.Chronology chronology)
It converts the given String into a LocalTime using the given pattern parameter with the specified
Chronology . |
|
static org.op4j.functions.Function<String,org.joda.time.LocalTime> |
strToLocalTime(String pattern,
org.joda.time.DateTimeZone dateTimeZone)
It converts the given String into a LocalTime using the given pattern parameter and with the specified
DateTimeZone . |
|
static org.op4j.functions.Function<String,org.joda.time.LocalTime> |
strToLocalTime(String pattern,
Locale locale)
It converts the given String into a LocalTime using the given pattern and Locale parameters
|
|
static org.op4j.functions.Function<String,org.joda.time.LocalTime> |
strToLocalTime(String pattern,
Locale locale,
org.joda.time.Chronology chronology)
It converts the given String into a LocalTime using the given pattern and Locale parameters. |
|
static org.op4j.functions.Function<String,org.joda.time.LocalTime> |
strToLocalTime(String pattern,
Locale locale,
org.joda.time.DateTimeZone dateTimeZone)
It converts the given String into a LocalTime using the given pattern and Locale parameters. |
|
static org.op4j.functions.Function<String,org.joda.time.LocalTime> |
strToLocalTime(String pattern,
String locale)
It converts the given String into a LocalTime using the given pattern and Locale parameters
|
|
static org.op4j.functions.Function<String,org.joda.time.LocalTime> |
strToLocalTime(String pattern,
String locale,
org.joda.time.Chronology chronology)
It converts the given String into a LocalTime using the given pattern and Locale parameters. |
|
static org.op4j.functions.Function<String,org.joda.time.LocalTime> |
strToLocalTime(String pattern,
String locale,
org.joda.time.DateTimeZone dateTimeZone)
It converts the given String into a LocalTime using the given pattern and Locale parameters. |
|
static org.op4j.functions.Function<Timestamp,org.joda.time.LocalTime> |
timestampToLocalTime()
The given Timestamp is converted into a LocalTime
|
|
static org.op4j.functions.Function<Timestamp,org.joda.time.LocalTime> |
timestampToLocalTime(org.joda.time.Chronology chronology)
The given Timestamp is converted into a LocalTime with the given Chronology
|
|
static org.op4j.functions.Function<Timestamp,org.joda.time.LocalTime> |
timestampToLocalTime(org.joda.time.DateTimeZone dateTimeZone)
The given Timestamp is converted into a LocalTime 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.LocalTime> strToLocalTime(String pattern)
It converts the given String
into a LocalTime
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
LocalTime
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.LocalTime> strToLocalTime(String pattern, org.joda.time.DateTimeZone dateTimeZone)
It converts the given String into a LocalTime
using the given pattern parameter and with the specified
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
LocalTime
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.LocalTime> strToLocalTime(String pattern, org.joda.time.Chronology chronology)
It converts the given String
into a LocalTime
using the given pattern parameter with the specified
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
LocalTime
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.LocalTime> strToLocalTime(String pattern, Locale locale)
It converts the given String
into a LocalTime
using the given pattern and Locale
parameters
pattern
- string with the format of the input Stringlocale
- Locale
to be used
LocalTime
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.LocalTime> strToLocalTime(String pattern, String locale)
It converts the given String
into a LocalTime
using the given pattern and Locale
parameters
pattern
- string with the format of the input Stringlocale
- Locale
to be used
LocalTime
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.LocalTime> strToLocalTime(String pattern, Locale locale, org.joda.time.DateTimeZone dateTimeZone)
It converts the given String
into a LocalTime
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
LocalTime
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.LocalTime> strToLocalTime(String pattern, String locale, org.joda.time.DateTimeZone dateTimeZone)
It converts the given String
into a LocalTime
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
LocalTime
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.LocalTime> strToLocalTime(String pattern, Locale locale, org.joda.time.Chronology chronology)
It converts the given String
into a LocalTime
using the given pattern and Locale
parameters.
The DateTime
will be created with the specified Chronology
pattern
- string with the format of the input Stringlocale
- Locale
to be usedchronology
- Chronology
to be used
LocalTime
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.LocalTime> strToLocalTime(String pattern, String locale, org.joda.time.Chronology chronology)
It converts the given String
into a LocalTime
using the given pattern and Locale
parameters.
The DateTime
will be created with the specified Chronology
pattern
- string with the format of the input Stringlocale
- Locale
to be usedchronology
- Chronology
to be used
LocalTime
created from the input and argumentspublic static final <T extends Date> org.op4j.functions.Function<T,org.joda.time.LocalTime> dateToLocalTime()
The given Date
is converted into a LocalTime
LocalTime
created from the inputpublic static final <T extends Date> org.op4j.functions.Function<T,org.joda.time.LocalTime> dateToLocalTime(org.joda.time.DateTimeZone dateTimeZone)
The given Date
is converted into a LocalTime
configured with the given DateTimeZone
dateTimeZone
- the the time zone (DateTimeZone
) to be used
LocalTime
created from the input and argumentspublic static final <T extends Date> org.op4j.functions.Function<T,org.joda.time.LocalTime> dateToLocalTime(org.joda.time.Chronology chronology)
The given Date
is converted into a LocalTime
with the given Chronology
chronology
- Chronology
to be used
LocalTime
created from the input and argumentspublic static final org.op4j.functions.Function<Timestamp,org.joda.time.LocalTime> timestampToLocalTime()
The given Timestamp
is converted into a LocalTime
LocalTime
created from the inputpublic static final org.op4j.functions.Function<Timestamp,org.joda.time.LocalTime> timestampToLocalTime(org.joda.time.DateTimeZone dateTimeZone)
The given Timestamp
is converted into a LocalTime
in the given DateTimeZone
dateTimeZone
- the the time zone (DateTimeZone
) to be used
LocalTime
created from the input and argumentspublic static final org.op4j.functions.Function<Timestamp,org.joda.time.LocalTime> timestampToLocalTime(org.joda.time.Chronology chronology)
The given Timestamp
is converted into a LocalTime
with the given Chronology
chronology
- Chronology
to be used
LocalTime
created from the input and argumentspublic static final org.op4j.functions.Function<Long,org.joda.time.LocalTime> longToLocalTime()
The given long representing the time in milliseconds is converted into a LocalTime
LocalTime
created from the inputpublic static final org.op4j.functions.Function<Long,org.joda.time.LocalTime> longToLocalTime(org.joda.time.DateTimeZone dateTimeZone)
The given long representing the time in milliseconds is converted into a LocalTime
in the given DateTimeZone
dateTimeZone
- the the time zone (DateTimeZone
) to be used
LocalTime
created from the input and argumentspublic static final org.op4j.functions.Function<Long,org.joda.time.LocalTime> longToLocalTime(org.joda.time.Chronology chronology)
The given long representing the time in milliseconds is converted into a LocalTime
with the given Chronology
chronology
- Chronology
to be used
LocalTime
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<Integer>,org.joda.time.LocalTime> integerFieldCollectionToLocalTime()
A LocalTime
is created from the given Integer
Collection
.
The valid input Collection<Integer> represent:
LocalTime
)LocalTime
)LocalTime
)
LocalTime
created from the inputpublic static final org.op4j.functions.Function<Collection<Integer>,org.joda.time.LocalTime> integerFieldCollectionToLocalTime(org.joda.time.Chronology chronology)
A LocalTime
is created from the given Integer
Collection
with the specified
Chronology
.
The valid input Collection<Integer> represent:
LocalTime
)LocalTime
)LocalTime
)
chronology
- Chronology
to be used
LocalTime
created from the input and argumentspublic static final org.op4j.functions.Function<Integer[],org.joda.time.LocalTime> integerFieldArrayToLocalTime()
A LocalTime
is created from the given Integer
Array.
The valid input Integer[] represent:
LocalTime
)LocalTime
)LocalTime
)
LocalTime
created from the inputpublic static final org.op4j.functions.Function<Integer[],org.joda.time.LocalTime> integerFieldArrayToLocalTime(org.joda.time.Chronology chronology)
A LocalTime
is created from the given Integer
array with the specified Chronology
.
The valid input Integer[] represent:
LocalTime
)LocalTime
)LocalTime
)
chronology
- Chronology
to be used
LocalTime
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<String>,org.joda.time.LocalTime> strFieldCollectionToLocalTime()
A LocalTime
is created from the given String
Collection
.
The valid input Collection<String> represent:
LocalTime
)LocalTime
)LocalTime
)
LocalTime
created from the inputpublic static final org.op4j.functions.Function<Collection<String>,org.joda.time.LocalTime> strFieldCollectionToLocalTime(org.joda.time.Chronology chronology)
A LocalTime
is created from the given String
Collection
with the specified
Chronology
The valid input Collection<String> represent:
LocalTime
)LocalTime
)LocalTime
)
chronology
- Chronology
to be used
LocalTime
created from the input and argumentspublic static final org.op4j.functions.Function<String[],org.joda.time.LocalTime> strFieldArrayToLocalTime()
A LocalTime
is created from the given String
array.
The valid input String[] represent:
LocalTime
)LocalTime
)LocalTime
)
LocalTime
created from the inputpublic static final org.op4j.functions.Function<String[],org.joda.time.LocalTime> strFieldArrayToLocalTime(org.joda.time.Chronology chronology)
A LocalTime
is created from the given String
array with the specified Chronology
The valid input String[] represent:
LocalTime
)LocalTime
)LocalTime
)
chronology
- Chronology
to be used
LocalTime
created from the input and argumentspublic static final <T extends Calendar> org.op4j.functions.Function<T,org.joda.time.LocalTime> calendarToLocalTime()
It converts a Calendar
into a LocalTime
LocalTime
created from the inputpublic static final <T extends Calendar> org.op4j.functions.Function<T,org.joda.time.LocalTime> calendarToLocalTime(org.joda.time.DateTimeZone dateTimeZone)
It converts a Calendar
into a LocalTime
in the given DateTimeZone
dateTimeZone
- the the time zone (DateTimeZone
) to be used
LocalTime
created from the input and argumentspublic static final <T extends Calendar> org.op4j.functions.Function<T,org.joda.time.LocalTime> calendarToLocalTime(org.joda.time.Chronology chronology)
It converts a Calendar
into a LocalTime
with the given Chronology
chronology
- Chronology
to be used
LocalTime
created from the input and arguments
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |