|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectorg.op4j.jodatime.functions.FnJodaTimeUtils
public class FnJodaTimeUtils
Method Summary | ||
---|---|---|
static
|
baseDateTimeFieldArrayToInterval()
The array accepted by this function, as its input, contains two BaseDateTime objects used
as the start and end of the Interval returned
|
|
static
|
baseDateTimeFieldArrayToInterval(org.joda.time.Chronology chronology)
The array accepted by this function, as its input, contains two BaseDateTime objects used
as the start and end of the Interval being created (with the given Chronology )
|
|
static
|
baseDateTimeFieldArrayToInterval(org.joda.time.DateTimeZone dateTimeZone)
The array accepted by this function, as its input, contains two BaseDateTime objects used
as the start and end of the Interval being created (with the given DateTimeZone )
|
|
static
|
baseDateTimeFieldArrayToPeriod()
It creates a Period represented by the given start and end instants
|
|
static
|
baseDateTimeFieldArrayToPeriod(org.joda.time.Chronology chronology)
It creates a Period with the specified Chronology . |
|
static
|
baseDateTimeFieldArrayToPeriod(org.joda.time.PeriodType periodType)
It creates a Period with the specified PeriodType . |
|
static
|
baseDateTimeFieldArrayToPeriod(org.joda.time.PeriodType periodType,
org.joda.time.Chronology chronology)
It creates a Period with the specified PeriodType and Chronology . |
|
static org.op4j.functions.Function<Collection<? extends org.joda.time.base.BaseDateTime>,org.joda.time.Interval> |
baseDateTimeFieldCollectionToInterval()
The two target elements accepted by this function are used as the start and end of the Interval returned
|
|
static org.op4j.functions.Function<Collection<? extends org.joda.time.base.BaseDateTime>,org.joda.time.Interval> |
baseDateTimeFieldCollectionToInterval(org.joda.time.Chronology chronology)
The two target elements accepted by this function are used as the start and end of the Interval being created with the given Chronology
|
|
static org.op4j.functions.Function<Collection<? extends org.joda.time.base.BaseDateTime>,org.joda.time.Interval> |
baseDateTimeFieldCollectionToInterval(org.joda.time.DateTimeZone dateTimeZone)
The two target elements accepted by this function are used as the start and end of the Interval being created with the given DateTimeZone
|
|
static org.op4j.functions.Function<Collection<? extends org.joda.time.base.BaseDateTime>,org.joda.time.Period> |
baseDateTimeFieldCollectionToPeriod()
It creates a Period represented by the given start and end instants
|
|
static org.op4j.functions.Function<Collection<? extends org.joda.time.base.BaseDateTime>,org.joda.time.Period> |
baseDateTimeFieldCollectionToPeriod(org.joda.time.Chronology chronology)
It creates a Period with the specified Chronology . |
|
static org.op4j.functions.Function<Collection<? extends org.joda.time.base.BaseDateTime>,org.joda.time.Period> |
baseDateTimeFieldCollectionToPeriod(org.joda.time.PeriodType periodType)
It creates a Period with the specified PeriodType . |
|
static org.op4j.functions.Function<Collection<? extends org.joda.time.base.BaseDateTime>,org.joda.time.Period> |
baseDateTimeFieldCollectionToPeriod(org.joda.time.PeriodType periodType,
org.joda.time.Chronology chronology)
It creates a Period with the specified PeriodType and Chronology . |
|
static org.op4j.functions.Function<org.joda.time.base.BaseDateTime,String> |
baseDateTimeToStr()
It converts the input BaseDateTime into a String
|
|
static org.op4j.functions.Function<org.joda.time.base.BaseDateTime,String> |
baseDateTimeToStr(org.joda.time.format.DateTimeFormatter formatter)
It converts the input BaseDateTime into a String by means of the given DateTimeFormatter
|
|
static org.op4j.functions.Function<org.joda.time.base.BaseDateTime,String> |
baseDateTimeToStr(FnJodaString.FormatType formatType,
String format)
It converts the input BaseDateTime into a String by means of the given pattern or style
(depending on the value of formatType parameter). |
|
static org.op4j.functions.Function<org.joda.time.base.BaseDateTime,String> |
baseDateTimeToStr(FnJodaString.FormatType formatType,
String format,
org.joda.time.Chronology chronology)
It converts the input BaseDateTime into a String by means of the given pattern or style
(depending on the value of formatType parameter). |
|
static org.op4j.functions.Function<org.joda.time.base.BaseDateTime,String> |
baseDateTimeToStr(FnJodaString.FormatType formatType,
String format,
Locale locale)
It converts the input BaseDateTime into a String by means of the given pattern or style
(depending on the value of formatType parameter). |
|
static org.op4j.functions.Function<org.joda.time.base.BaseDateTime,String> |
baseDateTimeToStr(FnJodaString.FormatType formatType,
String format,
String locale)
It converts the input BaseDateTime into a String by means of the given pattern or style
(depending on the value of formatType parameter). |
|
static
|
calendarFieldArrayToInterval()
It creates an Interval from the input Calendar targets representing the start
and end of the Interval
|
|
static
|
calendarFieldArrayToInterval(org.joda.time.Chronology chronology)
It creates an Interval from the input Calendar targets representing the start and end. |
|
static
|
calendarFieldArrayToInterval(org.joda.time.DateTimeZone dateTimeZone)
It creates an Interval from the input Calendar targets representing the start and end. |
|
static
|
calendarFieldArrayToPeriod()
It creates a Period represented by the given start and end instants
|
|
static
|
calendarFieldArrayToPeriod(org.joda.time.Chronology chronology)
It creates a Period with the specified Chronology . |
|
static
|
calendarFieldArrayToPeriod(org.joda.time.PeriodType periodType)
It creates a Period with the specified PeriodType . |
|
static
|
calendarFieldArrayToPeriod(org.joda.time.PeriodType periodType,
org.joda.time.Chronology chronology)
It creates a Period with the specified PeriodType and Chronology . |
|
static org.op4j.functions.Function<Collection<? extends Calendar>,org.joda.time.Interval> |
calendarFieldCollectionToInterval()
It creates an Interval from the input Calendar targets used as the start
and end of the Interval
|
|
static org.op4j.functions.Function<Collection<? extends Calendar>,org.joda.time.Interval> |
calendarFieldCollectionToInterval(org.joda.time.Chronology chronology)
It creates an Interval from the input Calendar targets used as the start and end. |
|
static org.op4j.functions.Function<Collection<? extends Calendar>,org.joda.time.Interval> |
calendarFieldCollectionToInterval(org.joda.time.DateTimeZone dateTimeZone)
It creates an Interval from the input Calendar targets used as the start and end. |
|
static org.op4j.functions.Function<Collection<? extends Calendar>,org.joda.time.Period> |
calendarFieldCollectionToPeriod()
It creates a Period represented by the given start and end instants. |
|
static org.op4j.functions.Function<Collection<? extends Calendar>,org.joda.time.Period> |
calendarFieldCollectionToPeriod(org.joda.time.Chronology chronology)
It creates a Period with the specified Chronology . |
|
static org.op4j.functions.Function<Collection<? extends Calendar>,org.joda.time.Period> |
calendarFieldCollectionToPeriod(org.joda.time.PeriodType periodType)
It creates a Period with the specified PeriodType . |
|
static org.op4j.functions.Function<Collection<? extends Calendar>,org.joda.time.Period> |
calendarFieldCollectionToPeriod(org.joda.time.PeriodType periodType,
org.joda.time.Chronology chronology)
It creates a Period with the specified PeriodType and Chronology . |
|
static
|
calendarToDateMidnight()
It converts a Calendar into a DateMidnight
|
|
static
|
calendarToDateMidnight(org.joda.time.Chronology chronology)
It converts a Calendar into a DateMidnight with the given Chronology
|
|
static
|
calendarToDateMidnight(org.joda.time.DateTimeZone dateTimeZone)
It converts a Calendar into a DateMidnight in the given DateTimeZone
|
|
static
|
calendarToDateTime()
It converts a Calendar into a DateTime
|
|
static
|
calendarToDateTime(org.joda.time.Chronology chronology)
It converts a Calendar into a DateTime with the given Chronology
|
|
static
|
calendarToDateTime(org.joda.time.DateTimeZone dateTimeZone)
It converts a Calendar into a DateTime in the given DateTimeZone
|
|
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
|
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
|
calendarToMutableDateTime()
It converts a Calendar into a MutableDateTime
|
|
static
|
calendarToMutableDateTime(org.joda.time.Chronology chronology)
It converts a Calendar into a MutableDateTime with the given Chronology
|
|
static
|
calendarToMutableDateTime(org.joda.time.DateTimeZone dateTimeZone)
It converts a Calendar into a MutableDateTime in the given DateTimeZone
|
|
static
|
dateFieldArrayToInterval()
It creates an Interval from the given Date elements. |
|
static
|
dateFieldArrayToInterval(org.joda.time.Chronology chronology)
It creates an Interval from the input Date elements. |
|
static
|
dateFieldArrayToInterval(org.joda.time.DateTimeZone dateTimeZone)
It creates an Interval from the input Date elements. |
|
static
|
dateFieldArrayToPeriod()
The function receives an Array of two Date elements used as the start and end of the
Period it creates
|
|
static
|
dateFieldArrayToPeriod(org.joda.time.Chronology chronology)
The function receives an Array of two Date elements used as the start and end of the
Period it creates. |
|
static
|
dateFieldArrayToPeriod(org.joda.time.PeriodType periodType)
The function receives an Array of two Date elements used as the start and end of the
Period it creates. |
|
static
|
dateFieldArrayToPeriod(org.joda.time.PeriodType periodType,
org.joda.time.Chronology chronology)
The function receives an Array of two Date elements used as the start and end of the
Period it creates. |
|
static org.op4j.functions.Function<Collection<? extends Date>,org.joda.time.Interval> |
dateFieldCollectionToInterval()
It creates an Interval from the input Date elements
|
|
static org.op4j.functions.Function<Collection<? extends Date>,org.joda.time.Interval> |
dateFieldCollectionToInterval(org.joda.time.Chronology chronology)
It creates an Interval from the input Date elements. |
|
static org.op4j.functions.Function<Collection<? extends Date>,org.joda.time.Interval> |
dateFieldCollectionToInterval(org.joda.time.DateTimeZone dateTimeZone)
It creates an Interval from the input Date elements. |
|
static org.op4j.functions.Function<Collection<? extends Date>,org.joda.time.Period> |
dateFieldCollectionToPeriod()
The function receives a Collection of two Date elements used as the start and end of the
Period it creates
|
|
static org.op4j.functions.Function<Collection<? extends Date>,org.joda.time.Period> |
dateFieldCollectionToPeriod(org.joda.time.Chronology chronology)
The function receives a Collection of two Date elements used as the start and end of the
Period it creates. |
|
static org.op4j.functions.Function<Collection<? extends Date>,org.joda.time.Period> |
dateFieldCollectionToPeriod(org.joda.time.PeriodType periodType)
The function receives a Collection of two Date elements used as the start and end of the
Period it creates. |
|
static org.op4j.functions.Function<Collection<? extends Date>,org.joda.time.Period> |
dateFieldCollectionToPeriod(org.joda.time.PeriodType periodType,
org.joda.time.Chronology chronology)
The function receives a Collection of two Date elements used as the start and end of the
Period it creates. |
|
static
|
dateToDateMidnight()
The input Date is converted into a DateMidnight
|
|
static
|
dateToDateMidnight(org.joda.time.Chronology chronology)
The input Date is converted into a DateMidnight with the given
Chronology
|
|
static
|
dateToDateMidnight(org.joda.time.DateTimeZone dateTimeZone)
The input Date is converted into a DateMidnight configured with the given
DateTimeZone
|
|
static
|
dateToDateTime()
The input Date is converted into a DateTime
|
|
static
|
dateToDateTime(org.joda.time.Chronology chronology)
The input Date is converted into a DateTime with the given
Chronology
|
|
static
|
dateToDateTime(org.joda.time.DateTimeZone dateTimeZone)
The input Date is converted into a DateTime configured with 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
|
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
|
dateToMutableDateTime()
The input Date is converted into a MutableDateTime
|
|
static
|
dateToMutableDateTime(org.joda.time.Chronology chronology)
The input Date is converted into a MutableDateTime with the given
Chronology
|
|
static
|
dateToMutableDateTime(org.joda.time.DateTimeZone dateTimeZone)
The input Date is converted into a MutableDateTime configured with the given
DateTimeZone
|
|
static org.op4j.functions.Function<Integer[],org.joda.time.DateMidnight> |
integerFieldArrayToDateMidnight()
A DateMidnight is created from the input Integer array. |
|
static org.op4j.functions.Function<Integer[],org.joda.time.DateMidnight> |
integerFieldArrayToDateMidnight(org.joda.time.Chronology chronology)
A DateMidnight is created from the given Integer array. |
|
static org.op4j.functions.Function<Integer[],org.joda.time.DateTime> |
integerFieldArrayToDateTime()
A DateTime is created from the given Integer array. |
|
static org.op4j.functions.Function<Integer[],org.joda.time.DateTime> |
integerFieldArrayToDateTime(org.joda.time.Chronology chronology)
A DateTime is created from the given Integer array. |
|
static org.op4j.functions.Function<Integer[],org.joda.time.Interval> |
integerFieldArrayToInterval()
It converts the given Integer elements into an Interval . |
|
static org.op4j.functions.Function<Integer[],org.joda.time.Interval> |
integerFieldArrayToInterval(org.joda.time.Chronology chronology)
It converts the given Integer elements into an Interval with the given Chronology . |
|
static org.op4j.functions.Function<Integer[],org.joda.time.Interval> |
integerFieldArrayToInterval(org.joda.time.DateTimeZone dateTimeZone)
It converts the given Integer elements into an Interval 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<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<Integer[],org.joda.time.MutableDateTime> |
integerFieldArrayToMutableDateTime()
A MutableDateTime is created from the given Integer array. |
|
static org.op4j.functions.Function<Integer[],org.joda.time.MutableDateTime> |
integerFieldArrayToMutableDateTime(org.joda.time.Chronology chronology)
A MutableDateTime is created from the given Integer array. |
|
static org.op4j.functions.Function<Integer[],org.joda.time.Period> |
integerFieldArrayToPeriod()
It creates a Period either: From an Integer[] representing the hours, minutes, seconds and milliseconds From an Integer[] representing the years, months, weeks, days, hours, minutes, seconds and milliseconds |
|
static org.op4j.functions.Function<Integer[],org.joda.time.Period> |
integerFieldArrayToPeriod(org.joda.time.PeriodType periodType)
It creates a Period with the specified PeriodType either:
From an Integer[] representing the hours, minutes, seconds and milliseconds
From an Integer[] representing the years, months, weeks, days, hours, minutes, seconds and milliseconds
|
|
static org.op4j.functions.Function<Collection<Integer>,org.joda.time.DateMidnight> |
integerFieldCollectionToDateMidnight()
A DateMidnight is created from the input Integer Collection . |
|
static org.op4j.functions.Function<Collection<Integer>,org.joda.time.DateMidnight> |
integerFieldCollectionToDateMidnight(org.joda.time.Chronology chronology)
A DateMidnight is created from the input Integer Collection . |
|
static org.op4j.functions.Function<Collection<Integer>,org.joda.time.DateTime> |
integerFieldCollectionToDateTime()
A DateTime is created from the input Integer Collection . |
|
static org.op4j.functions.Function<Collection<Integer>,org.joda.time.DateTime> |
integerFieldCollectionToDateTime(org.joda.time.Chronology chronology)
A DateTime is created from the input Integer Collection . |
|
static org.op4j.functions.Function<Collection<Integer>,org.joda.time.Interval> |
integerFieldCollectionToInterval()
It converts the input Integer elements into an Interval . |
|
static org.op4j.functions.Function<Collection<Integer>,org.joda.time.Interval> |
integerFieldCollectionToInterval(org.joda.time.Chronology chronology)
It converts the given Integer elements into an Interval . |
|
static org.op4j.functions.Function<Collection<Integer>,org.joda.time.Interval> |
integerFieldCollectionToInterval(org.joda.time.DateTimeZone dateTimeZone)
It converts the input Integer elements into an Interval with the given DateTime . |
|
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<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<Collection<Integer>,org.joda.time.MutableDateTime> |
integerFieldCollectionToMutableDateTime()
A MutableDateTime is created from the input Integer Collection . |
|
static org.op4j.functions.Function<Collection<Integer>,org.joda.time.MutableDateTime> |
integerFieldCollectionToMutableDateTime(org.joda.time.Chronology chronology)
A MutableDateTime is created from the input Integer Collection . |
|
static org.op4j.functions.Function<Collection<Integer>,org.joda.time.Period> |
integerFieldCollectionToPeriod()
It creates a Period either: From a Collection of Integer representing the hours, minutes, seconds and milliseconds
From a Collection of Integer representing the years, months, weeks, days, hours, minutes, seconds and milliseconds
|
|
static org.op4j.functions.Function<Collection<Integer>,org.joda.time.Period> |
integerFieldCollectionToPeriod(org.joda.time.PeriodType periodType)
It creates a Period with the specified PeriodType either:
From a Collection of Integer representing the hours, minutes, seconds and milliseconds
From a Collection of Integer representing the years, months, weeks, days, hours, minutes, seconds and milliseconds
|
|
static org.op4j.functions.Function<org.joda.time.LocalDate,String> |
localDateToStr()
It converts the input LocalDate into a String
|
|
static org.op4j.functions.Function<org.joda.time.LocalDate,String> |
localDateToStr(org.joda.time.format.DateTimeFormatter formatter)
It converts the input LocalDate into a String by means of the given DateTimeFormatter
|
|
static org.op4j.functions.Function<org.joda.time.LocalDate,String> |
localDateToStr(FnJodaString.FormatType formatType,
String format)
It converts the input LocalDate into a String by means of the given pattern
or style (depending on the formatType value)
|
|
static org.op4j.functions.Function<org.joda.time.LocalDate,String> |
localDateToStr(FnJodaString.FormatType formatType,
String format,
org.joda.time.Chronology chronology)
It converts the input LocalDate into a String by means of the given pattern
or style (depending on the formatType value) with the given Chronology
|
|
static org.op4j.functions.Function<org.joda.time.LocalDate,String> |
localDateToStr(FnJodaString.FormatType formatType,
String format,
Locale locale)
It converts the input LocalDate into a String by means of the given pattern
or style (depending on the formatType value) with the given Locale
|
|
static org.op4j.functions.Function<org.joda.time.LocalDate,String> |
localDateToStr(FnJodaString.FormatType formatType,
String format,
String locale)
It converts the input LocalDate into a String by means of the given pattern
or style (depending on the formatType value) with the given Locale
|
|
static org.op4j.functions.Function<org.joda.time.LocalTime,String> |
localTimeToStr()
It converts the input LocalTime into a String
|
|
static org.op4j.functions.Function<org.joda.time.LocalTime,String> |
localTimeToStr(org.joda.time.format.DateTimeFormatter formatter)
It converts the input LocalTime into a String by means of the given DateTimeFormatter
|
|
static org.op4j.functions.Function<org.joda.time.LocalTime,String> |
localTimeToStr(FnJodaString.FormatType formatType,
String format)
It converts the input LocalTime into a String by means of the given pattern or style
(depending on the value of formatType parameter). |
|
static org.op4j.functions.Function<org.joda.time.LocalTime,String> |
localTimeToStr(FnJodaString.FormatType formatType,
String format,
org.joda.time.Chronology chronology)
It converts the input LocalTime into a String by means of the given pattern or style
(depending on the value of formatType parameter). |
|
static org.op4j.functions.Function<org.joda.time.LocalTime,String> |
localTimeToStr(FnJodaString.FormatType formatType,
String format,
Locale locale)
It converts the input LocalTime into a String by means of the given pattern or style
(depending on the value of formatType parameter). |
|
static org.op4j.functions.Function<org.joda.time.LocalTime,String> |
localTimeToStr(FnJodaString.FormatType formatType,
String format,
String locale)
It converts the input LocalTime into a String by means of the given pattern or style
(depending on the value of formatType parameter). |
|
static org.op4j.functions.Function<Long[],org.joda.time.Interval> |
longFieldArrayToInterval()
The input Long targets representing the time in milliseconds will be used as the start
and end of the Interval returned
|
|
static org.op4j.functions.Function<Long[],org.joda.time.Interval> |
longFieldArrayToInterval(org.joda.time.Chronology chronology)
The input Long targets representing the time in milliseconds will be used as the start
and end of the Interval returned. |
|
static org.op4j.functions.Function<Long[],org.joda.time.Interval> |
longFieldArrayToInterval(org.joda.time.DateTimeZone dateTimeZone)
The input Long targets representing the time in milliseconds will be used as the start
and end of the Interval returned. |
|
static org.op4j.functions.Function<Long[],org.joda.time.Period> |
longFieldArrayToPeriod()
The given Long targets representing the time in milliseconds will be used as the start
and end instants of the Period returned
|
|
static org.op4j.functions.Function<Long[],org.joda.time.Period> |
longFieldArrayToPeriod(org.joda.time.Chronology chronology)
The given Long targets representing the time in milliseconds will be used as the start
and end instants of the Period returned
|
|
static org.op4j.functions.Function<Long[],org.joda.time.Period> |
longFieldArrayToPeriod(org.joda.time.PeriodType periodType)
The given Long targets representing the time in milliseconds will be used as the start
and end instants of the Period returned
|
|
static org.op4j.functions.Function<Long[],org.joda.time.Period> |
longFieldArrayToPeriod(org.joda.time.PeriodType periodType,
org.joda.time.Chronology chronology)
The given Long targets representing the time in milliseconds will be used as the start
and end instants of the Period returned
|
|
static org.op4j.functions.Function<Collection<Long>,org.joda.time.Interval> |
longFieldCollectionToInterval()
The input Long targets representing the time in milliseconds will be used as the start
and end of the Interval returned
|
|
static org.op4j.functions.Function<Collection<Long>,org.joda.time.Interval> |
longFieldCollectionToInterval(org.joda.time.Chronology chronology)
The input Long targets representing the time in milliseconds will be used as the start
and end of the Interval returned. |
|
static org.op4j.functions.Function<Collection<Long>,org.joda.time.Interval> |
longFieldCollectionToInterval(org.joda.time.DateTimeZone dateTimeZone)
The input Long targets representing the time in milliseconds will be used as the start
and end of the Interval returned. |
|
static org.op4j.functions.Function<Collection<Long>,org.joda.time.Period> |
longFieldCollectionToPeriod()
The given Long targets representing the time in milliseconds will be used as the start
and end instants of the Period returned
|
|
static org.op4j.functions.Function<Collection<Long>,org.joda.time.Period> |
longFieldCollectionToPeriod(org.joda.time.Chronology chronology)
The given Long targets representing the time in milliseconds will be used as the start
and end instants of the Period returned
|
|
static org.op4j.functions.Function<Collection<Long>,org.joda.time.Period> |
longFieldCollectionToPeriod(org.joda.time.PeriodType periodType)
The given Long targets representing the time in milliseconds will be used as the start
and end instants of the Period returned
|
|
static org.op4j.functions.Function<Collection<Long>,org.joda.time.Period> |
longFieldCollectionToPeriod(org.joda.time.PeriodType periodType,
org.joda.time.Chronology chronology)
The given Long targets representing the time in milliseconds will be used as the start
and end instants of the Period returned
|
|
static org.op4j.functions.Function<Long,org.joda.time.DateMidnight> |
longToDateMidnight()
The input Long representing the time in milliseconds is converted into a DateMidnight
|
|
static org.op4j.functions.Function<Long,org.joda.time.DateMidnight> |
longToDateMidnight(org.joda.time.Chronology chronology)
The input Long representing the time in milliseconds is converted into a DateMidnight with the given
Chronology
|
|
static org.op4j.functions.Function<Long,org.joda.time.DateMidnight> |
longToDateMidnight(org.joda.time.DateTimeZone dateTimeZone)
The input Long representing the time in milliseconds is converted into a DateMidnight in the given
DateTimeZone
|
|
static org.op4j.functions.Function<Long,org.joda.time.DateTime> |
longToDateTime()
The input Long representing the time in milliseconds is converted into a DateTime
|
|
static org.op4j.functions.Function<Long,org.joda.time.DateTime> |
longToDateTime(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<Long,org.joda.time.DateTime> |
longToDateTime(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<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<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<Long,org.joda.time.MutableDateTime> |
longToMutableDateTime()
The input Long representing the time in milliseconds is converted into a MutableDateTime
|
|
static org.op4j.functions.Function<Long,org.joda.time.MutableDateTime> |
longToMutableDateTime(org.joda.time.Chronology chronology)
The input Long representing the time in milliseconds is converted into a MutableDateTime with the given
Chronology
|
|
static org.op4j.functions.Function<Long,org.joda.time.MutableDateTime> |
longToMutableDateTime(org.joda.time.DateTimeZone dateTimeZone)
The input Long representing the time in milliseconds is converted into a MutableDateTime in the given
MutableDateTimeZone
|
|
static org.op4j.functions.Function<Long,org.joda.time.Period> |
longToPeriod()
The function receives a Long representing the Period duration in milliseconds
and creates a Period with such duration
|
|
static org.op4j.functions.Function<Long,org.joda.time.Period> |
longToPeriod(org.joda.time.Chronology chronology)
Creates a Period with the specified Chronology and, as the duration, the input
received by this function (in milliseconds)
|
|
static org.op4j.functions.Function<Long,org.joda.time.Period> |
longToPeriod(org.joda.time.PeriodType periodType)
Creates a Period with the specified PeriodType and, as the duration, the input
received by this function (in milliseconds)
|
|
static org.op4j.functions.Function<Long,org.joda.time.Period> |
longToPeriod(org.joda.time.PeriodType periodType,
org.joda.time.Chronology chronology)
Creates a Period with the specified PeriodType and Chronology and, as the duration, the input
received by this function (in milliseconds)
|
|
static org.op4j.functions.Function<String[],org.joda.time.DateMidnight> |
strFieldArrayToDateMidnight()
A DateMidnight is created from the given String array. |
|
static org.op4j.functions.Function<String[],org.joda.time.DateMidnight> |
strFieldArrayToDateMidnight(org.joda.time.Chronology chronology)
A DateMidnight is created from the input String array. |
|
static org.op4j.functions.Function<String[],org.joda.time.DateTime> |
strFieldArrayToDateTime()
A DateTime is created from the given String array. |
|
static org.op4j.functions.Function<String[],org.joda.time.DateTime> |
strFieldArrayToDateTime(org.joda.time.Chronology chronology)
A DateTime is created from the given String array. |
|
static org.op4j.functions.Function<String[],org.joda.time.Interval> |
strFieldArrayToInterval()
It converts the input String elements into an Interval . |
|
static org.op4j.functions.Function<String[],org.joda.time.Interval> |
strFieldArrayToInterval(org.joda.time.Chronology chronology)
It converts the given String elements into an Interval . |
|
static org.op4j.functions.Function<String[],org.joda.time.Interval> |
strFieldArrayToInterval(org.joda.time.DateTimeZone dateTimeZone)
It converts the input String elements into an Interval . |
|
static org.op4j.functions.Function<String[],org.joda.time.Interval> |
strFieldArrayToInterval(String pattern)
It converts the given String elements into an Interval . |
|
static org.op4j.functions.Function<String[],org.joda.time.Interval> |
strFieldArrayToInterval(String pattern,
org.joda.time.Chronology chronology)
It converts the input String elements into an Interval . |
|
static org.op4j.functions.Function<String[],org.joda.time.Interval> |
strFieldArrayToInterval(String pattern,
org.joda.time.DateTimeZone dateTimeZone)
It converts the input String elements into an Interval . |
|
static org.op4j.functions.Function<String[],org.joda.time.Interval> |
strFieldArrayToInterval(String pattern,
Locale locale)
It converts the input String elements into an Interval . |
|
static org.op4j.functions.Function<String[],org.joda.time.Interval> |
strFieldArrayToInterval(String pattern,
Locale locale,
org.joda.time.Chronology chronology)
It converts the given String elements into an Interval . |
|
static org.op4j.functions.Function<String[],org.joda.time.Interval> |
strFieldArrayToInterval(String pattern,
Locale locale,
org.joda.time.DateTimeZone dateTimeZone)
It converts the given String elements into an Interval . |
|
static org.op4j.functions.Function<String[],org.joda.time.Interval> |
strFieldArrayToInterval(String pattern,
String locale)
It converts the given String elements into an Interval . |
|
static org.op4j.functions.Function<String[],org.joda.time.Interval> |
strFieldArrayToInterval(String pattern,
String locale,
org.joda.time.Chronology chronology)
It converts the given String elements into an Interval . |
|
static org.op4j.functions.Function<String[],org.joda.time.Interval> |
strFieldArrayToInterval(String pattern,
String locale,
org.joda.time.DateTimeZone dateTimeZone)
It converts the given String elements into an Interval . |
|
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<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<String[],org.joda.time.MutableDateTime> |
strFieldArrayToMutableDateTime()
A MutableDateTime is created from the given String array. |
|
static org.op4j.functions.Function<String[],org.joda.time.MutableDateTime> |
strFieldArrayToMutableDateTime(org.joda.time.Chronology chronology)
A MutableDateTime is created from the given String array. |
|
static org.op4j.functions.Function<String[],org.joda.time.Period> |
strFieldArrayToPeriod()
A Period is created either: From a String[] representing the hours, minutes, seconds and milliseconds From a String[] representing the years, months, weeks, days, hours, minutes, seconds and milliseconds |
|
static org.op4j.functions.Function<String[],org.joda.time.Period> |
strFieldArrayToPeriod(org.joda.time.PeriodType periodType)
A Period is created with the specified PeriodType either:
From a String[] representing the hours, minutes, seconds and milliseconds
From a String[] representing the years, months, weeks, days, hours, minutes, seconds and milliseconds
|
|
static org.op4j.functions.Function<Collection<String>,org.joda.time.DateMidnight> |
strFieldCollectionToDateMidnight()
A DateMidnight is created from the input String Collection . |
|
static org.op4j.functions.Function<Collection<String>,org.joda.time.DateMidnight> |
strFieldCollectionToDateMidnight(org.joda.time.Chronology chronology)
A DateMidnight is created from the input String Collection . |
|
static org.op4j.functions.Function<Collection<String>,org.joda.time.DateTime> |
strFieldCollectionToDateTime()
A DateTime is created from the given String Collection . |
|
static org.op4j.functions.Function<Collection<String>,org.joda.time.DateTime> |
strFieldCollectionToDateTime(org.joda.time.Chronology chronology)
A DateTime is created from the given String Collection . |
|
static org.op4j.functions.Function<Collection<String>,org.joda.time.Interval> |
strFieldCollectionToInterval()
It converts the input String elements into an Interval . |
|
static org.op4j.functions.Function<Collection<String>,org.joda.time.Interval> |
strFieldCollectionToInterval(org.joda.time.Chronology chronology)
It converts the input String elements into an Interval . |
|
static org.op4j.functions.Function<Collection<String>,org.joda.time.Interval> |
strFieldCollectionToInterval(org.joda.time.DateTimeZone dateTimeZone)
It converts the input String elements into an Interval . |
|
static org.op4j.functions.Function<Collection<String>,org.joda.time.Interval> |
strFieldCollectionToInterval(String pattern)
It creates an Interval using the target String elements as the start and end. |
|
static org.op4j.functions.Function<Collection<String>,org.joda.time.Interval> |
strFieldCollectionToInterval(String pattern,
org.joda.time.Chronology chronology)
It creates an Interval from the given start and end String elements using the given pattern parameter
and with the given Chronology . |
|
static org.op4j.functions.Function<Collection<String>,org.joda.time.Interval> |
strFieldCollectionToInterval(String pattern,
org.joda.time.DateTimeZone dateTimeZone)
It creates an Interval from the given start and end String elements using the given pattern parameter
and with the given DateTimeZone . |
|
static org.op4j.functions.Function<Collection<String>,org.joda.time.Interval> |
strFieldCollectionToInterval(String pattern,
Locale locale)
It creates an Interval from the given String elements using the given pattern
and Locale parameters
|
|
static org.op4j.functions.Function<Collection<String>,org.joda.time.Interval> |
strFieldCollectionToInterval(String pattern,
Locale locale,
org.joda.time.Chronology chronology)
It creates an Interval from the input String elements using the given pattern
and Locale parameters. |
|
static org.op4j.functions.Function<Collection<String>,org.joda.time.Interval> |
strFieldCollectionToInterval(String pattern,
Locale locale,
org.joda.time.DateTimeZone dateTimeZone)
It creates an Interval from the given String elements using the given pattern
and Locale parameters. |
|
static org.op4j.functions.Function<Collection<String>,org.joda.time.Interval> |
strFieldCollectionToInterval(String pattern,
String locale)
It creates an Interval from the given String elements using the given pattern
and Locale parameters
|
|
static org.op4j.functions.Function<Collection<String>,org.joda.time.Interval> |
strFieldCollectionToInterval(String pattern,
String locale,
org.joda.time.Chronology chronology)
It creates an Interval from the input String elements using the given pattern
and Locale parameters. |
|
static org.op4j.functions.Function<Collection<String>,org.joda.time.Interval> |
strFieldCollectionToInterval(String pattern,
String locale,
org.joda.time.DateTimeZone dateTimeZone)
It creates an Interval from the given String elements using the given pattern
and Locale parameters. |
|
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<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<Collection<String>,org.joda.time.MutableDateTime> |
strFieldCollectionToMutableDateTime()
A MutableDateTime is created from the given String Collection . |
|
static org.op4j.functions.Function<Collection<String>,org.joda.time.MutableDateTime> |
strFieldCollectionToMutableDateTime(org.joda.time.Chronology chronology)
A MutableDateTime is created from the given String Collection . |
|
static org.op4j.functions.Function<Collection<String>,org.joda.time.Period> |
strFieldCollectionToPeriod()
A Period is created either: From a Collection of String representing the hours, minutes, seconds and milliseconds
From a Collection of String representing the years, months, weeks, days, hours, minutes, seconds and milliseconds
|
|
static org.op4j.functions.Function<Collection<String>,org.joda.time.Period> |
strFieldCollectionToPeriod(org.joda.time.PeriodType periodType)
A Period is created with the specified PeriodType either:
From a Collection of String representing the hours, minutes, seconds and milliseconds
From a Collection of String representing the years, months, weeks, days, hours, minutes, seconds and milliseconds
|
|
static org.op4j.functions.Function<String,org.joda.time.DateMidnight> |
strToDateMidnight(String pattern)
It converts the input String into a DateMidnight using the given pattern parameter. |
|
static org.op4j.functions.Function<String,org.joda.time.DateMidnight> |
strToDateMidnight(String pattern,
org.joda.time.Chronology chronology)
It converts the input String into a DateMidnight using the given pattern parameter and with the given
Chronology . |
|
static org.op4j.functions.Function<String,org.joda.time.DateMidnight> |
strToDateMidnight(String pattern,
org.joda.time.DateTimeZone dateTimeZone)
It converts the input String into a DateMidnight using the given pattern parameter and with the given
DateTimeZone . |
|
static org.op4j.functions.Function<String,org.joda.time.DateMidnight> |
strToDateMidnight(String pattern,
Locale locale)
It converts the input String into a DateMidnight using the given pattern and
Locale parameters
|
|
static org.op4j.functions.Function<String,org.joda.time.DateMidnight> |
strToDateMidnight(String pattern,
Locale locale,
org.joda.time.Chronology chronology)
It converts the input String into a DateMidnight using the given pattern and Locale parameters. |
|
static org.op4j.functions.Function<String,org.joda.time.DateMidnight> |
strToDateMidnight(String pattern,
Locale locale,
org.joda.time.DateTimeZone dateTimeZone)
It converts the input String into a DateMidnight using the given pattern and Locale parameters. |
|
static org.op4j.functions.Function<String,org.joda.time.DateMidnight> |
strToDateMidnight(String pattern,
String locale)
It converts the input String into a DateMidnight using the given pattern and
Locale parameters
|
|
static org.op4j.functions.Function<String,org.joda.time.DateMidnight> |
strToDateMidnight(String pattern,
String locale,
org.joda.time.Chronology chronology)
It converts the input String into a DateMidnight using the given pattern and Locale parameters. |
|
static org.op4j.functions.Function<String,org.joda.time.DateMidnight> |
strToDateMidnight(String pattern,
String locale,
org.joda.time.DateTimeZone dateTimeZone)
It converts the input String into a DateMidnight using the given pattern and Locale parameters. |
|
static org.op4j.functions.Function<String,org.joda.time.DateTime> |
strToDateTime(String pattern)
It converts the input String into a DateTime using the
given pattern parameter. |
|
static org.op4j.functions.Function<String,org.joda.time.DateTime> |
strToDateTime(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<String,org.joda.time.DateTime> |
strToDateTime(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<String,org.joda.time.DateTime> |
strToDateTime(String pattern,
Locale locale)
It converts the input String into a DateTime using the given pattern and
Locale parameters
|
|
static org.op4j.functions.Function<String,org.joda.time.DateTime> |
strToDateTime(String pattern,
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<String,org.joda.time.DateTime> |
strToDateTime(String pattern,
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<String,org.joda.time.DateTime> |
strToDateTime(String pattern,
String locale)
It converts the given String into a DateTime using the given pattern and
Locale parameters
|
|
static org.op4j.functions.Function<String,org.joda.time.DateTime> |
strToDateTime(String pattern,
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<String,org.joda.time.DateTime> |
strToDateTime(String pattern,
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<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<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<String,org.joda.time.MutableDateTime> |
strToMutableDateTime(String pattern)
It converts the input String into a MutableDateTime using the
given pattern parameter. |
|
static org.op4j.functions.Function<String,org.joda.time.MutableDateTime> |
strToMutableDateTime(String pattern,
org.joda.time.Chronology chronology)
It converts the input String into a MutableDateTime using the given pattern parameter and with the given
Chronology . |
|
static org.op4j.functions.Function<String,org.joda.time.MutableDateTime> |
strToMutableDateTime(String pattern,
org.joda.time.DateTimeZone dateTimeZone)
It converts the input String into a MutableDateTime using the given pattern parameter and with the given
MutableDateTimeZone . |
|
static org.op4j.functions.Function<String,org.joda.time.MutableDateTime> |
strToMutableDateTime(String pattern,
Locale locale)
It converts the input String into a MutableDateTime using the given pattern and
Locale parameters
|
|
static org.op4j.functions.Function<String,org.joda.time.MutableDateTime> |
strToMutableDateTime(String pattern,
Locale locale,
org.joda.time.Chronology chronology)
It converts the input String into a MutableDateTime using the given pattern and Locale parameters. |
|
static org.op4j.functions.Function<String,org.joda.time.MutableDateTime> |
strToMutableDateTime(String pattern,
Locale locale,
org.joda.time.DateTimeZone dateTimeZone)
It converts the given String into a MutableDateTime using the given pattern and Locale parameters. |
|
static org.op4j.functions.Function<String,org.joda.time.MutableDateTime> |
strToMutableDateTime(String pattern,
String locale)
It converts the given String into a MutableDateTime using the given pattern and
Locale parameters
|
|
static org.op4j.functions.Function<String,org.joda.time.MutableDateTime> |
strToMutableDateTime(String pattern,
String locale,
org.joda.time.Chronology chronology)
It converts the input String into a MutableDateTime using the given pattern and Locale parameters. |
|
static org.op4j.functions.Function<String,org.joda.time.MutableDateTime> |
strToMutableDateTime(String pattern,
String locale,
org.joda.time.DateTimeZone dateTimeZone)
It converts the given String into a MutableDateTime using the given pattern and Locale parameters. |
|
static org.op4j.functions.Function<Timestamp[],org.joda.time.Interval> |
timestampFieldArrayToInterval()
The input Timestamp target elements will be used as the start and end
of the Interval returned
|
|
static org.op4j.functions.Function<Timestamp[],org.joda.time.Interval> |
timestampFieldArrayToInterval(org.joda.time.Chronology chronology)
The input Timestamp target elements will be used as the start and end
of the Interval returned with the given Chronology
|
|
static org.op4j.functions.Function<Timestamp[],org.joda.time.Interval> |
timestampFieldArrayToInterval(org.joda.time.DateTimeZone dateTimeZone)
The input Timestamp target elements will be used as the start and end
of the Interval returned with the given DateTimeZone
|
|
static org.op4j.functions.Function<Timestamp[],org.joda.time.Period> |
timestampFieldArrayToPeriod()
The function receives an Array of two Timestamp elements used as the start and end of the
Period it creates
|
|
static org.op4j.functions.Function<Timestamp[],org.joda.time.Period> |
timestampFieldArrayToPeriod(org.joda.time.Chronology chronology)
The function receives an Array of two Timestamp elements used as the start and end of the
Period it creates. |
|
static org.op4j.functions.Function<Timestamp[],org.joda.time.Period> |
timestampFieldArrayToPeriod(org.joda.time.PeriodType periodType)
The function receives an Array of two Timestamp elements used as the start and end of the
Period it creates. |
|
static org.op4j.functions.Function<Timestamp[],org.joda.time.Period> |
timestampFieldArrayToPeriod(org.joda.time.PeriodType periodType,
org.joda.time.Chronology chronology)
The function receives an Array of two Timestamp elements used as the start and end of the
Period it creates. |
|
static org.op4j.functions.Function<Collection<Timestamp>,org.joda.time.Interval> |
timestampFieldCollectionToInterval()
The input Timestamp target elements will be used as the start and end
of the Interval returned
|
|
static org.op4j.functions.Function<Collection<Timestamp>,org.joda.time.Interval> |
timestampFieldCollectionToInterval(org.joda.time.Chronology chronology)
The input Timestamp target elements will be used as the start and end
of the Interval returned with the given Chronology
|
|
static org.op4j.functions.Function<Collection<Timestamp>,org.joda.time.Interval> |
timestampFieldCollectionToInterval(org.joda.time.DateTimeZone dateTimeZone)
The input Timestamp target elements will be used as the start and end
of the Interval returned with the given DateTimeZone
|
|
static org.op4j.functions.Function<Collection<Timestamp>,org.joda.time.Period> |
timestampFieldCollectionToPeriod()
The function receives a Collection of two Timestamp elements used as the start and end of the
Period it creates
|
|
static org.op4j.functions.Function<Collection<Timestamp>,org.joda.time.Period> |
timestampFieldCollectionToPeriod(org.joda.time.Chronology chronology)
The function receives a Collection of two Timestamp elements used as the start and end of the
Period it creates. |
|
static org.op4j.functions.Function<Collection<Timestamp>,org.joda.time.Period> |
timestampFieldCollectionToPeriod(org.joda.time.PeriodType periodType)
The function receives a Collection of two Timestamp elements used as the start and end of the
Period it creates. |
|
static org.op4j.functions.Function<Collection<Timestamp>,org.joda.time.Period> |
timestampFieldCollectionToPeriod(org.joda.time.PeriodType periodType,
org.joda.time.Chronology chronology)
The function receives a Collection of two Timestamp elements used as the start and end of the
Period it creates. |
|
static org.op4j.functions.Function<Timestamp,org.joda.time.DateMidnight> |
timestampToDateMidnight()
The input Timestamp is converted into a DateMidnight
|
|
static org.op4j.functions.Function<Timestamp,org.joda.time.DateMidnight> |
timestampToDateMidnight(org.joda.time.Chronology chronology)
The input Timestamp is converted into a DateMidnight with the given
Chronology
|
|
static org.op4j.functions.Function<Timestamp,org.joda.time.DateMidnight> |
timestampToDateMidnight(org.joda.time.DateTimeZone dateTimeZone)
The input Timestamp is converted into a DateMidnight in the given
DateTimeZone
|
|
static org.op4j.functions.Function<Timestamp,org.joda.time.DateTime> |
timestampToDateTime()
The input Timestamp is converted into a DateTime
|
|
static org.op4j.functions.Function<Timestamp,org.joda.time.DateTime> |
timestampToDateTime(org.joda.time.Chronology chronology)
The input Timestamp is converted into a DateTime with the given
Chronology
|
|
static org.op4j.functions.Function<Timestamp,org.joda.time.DateTime> |
timestampToDateTime(org.joda.time.DateTimeZone dateTimeZone)
The input Timestamp is converted into a DateTime in the given
DateTimeZone
|
|
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
|
|
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
|
|
static org.op4j.functions.Function<Timestamp,org.joda.time.MutableDateTime> |
timestampToMutableDateTime()
The input Timestamp is converted into a MutableDateTime
|
|
static org.op4j.functions.Function<Timestamp,org.joda.time.MutableDateTime> |
timestampToMutableDateTime(org.joda.time.Chronology chronology)
The input Timestamp is converted into a MutableDateTime with the given
Chronology
|
|
static org.op4j.functions.Function<Timestamp,org.joda.time.MutableDateTime> |
timestampToMutableDateTime(org.joda.time.DateTimeZone dateTimeZone)
The input Timestamp is converted into a MutableDateTime 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<org.joda.time.base.BaseDateTime,String> baseDateTimeToStr()
It converts the input BaseDateTime
into a String
String
created from the input and argumentspublic static final org.op4j.functions.Function<org.joda.time.base.BaseDateTime,String> baseDateTimeToStr(FnJodaString.FormatType formatType, String format)
It converts the input BaseDateTime
into a String
by means of the given pattern or style
(depending on the value of formatType parameter).
formatType
- the format FnJodaString.FormatType
format
- string with the format used for the output
String
created from the input and argumentspublic static final org.op4j.functions.Function<org.joda.time.base.BaseDateTime,String> baseDateTimeToStr(FnJodaString.FormatType formatType, String format, Locale locale)
It converts the input BaseDateTime
into a String
by means of the given pattern or style
(depending on the value of formatType parameter).
formatType
- the format FnJodaString.FormatType
format
- string with the format used for the outputlocale
- Locale
to be used
String
created from the input and argumentspublic static final org.op4j.functions.Function<org.joda.time.base.BaseDateTime,String> baseDateTimeToStr(FnJodaString.FormatType formatType, String format, org.joda.time.Chronology chronology)
It converts the input BaseDateTime
into a String
by means of the given pattern or style
(depending on the value of formatType parameter).
formatType
- the format FnJodaString.FormatType
format
- string with the format used for the outputchronology
- Chronology
to be used
String
created from the input and argumentspublic static final org.op4j.functions.Function<org.joda.time.base.BaseDateTime,String> baseDateTimeToStr(FnJodaString.FormatType formatType, String format, String locale)
It converts the input BaseDateTime
into a String
by means of the given pattern or style
(depending on the value of formatType parameter).
formatType
- the format FnJodaString.FormatType
format
- string with the format used for the outputlocale
- Locale
to be used
String
created from the input and argumentspublic static final org.op4j.functions.Function<org.joda.time.base.BaseDateTime,String> baseDateTimeToStr(org.joda.time.format.DateTimeFormatter formatter)
It converts the input BaseDateTime
into a String
by means of the given DateTimeFormatter
formatter
- DateTimeFormatter
to generate the output String with
String
created from the input and argumentspublic static final org.op4j.functions.Function<org.joda.time.LocalTime,String> localTimeToStr()
It converts the input LocalTime
into a String
String
created from the input and argumentspublic static final org.op4j.functions.Function<org.joda.time.LocalTime,String> localTimeToStr(FnJodaString.FormatType formatType, String format)
It converts the input LocalTime
into a String
by means of the given pattern or style
(depending on the value of formatType parameter).
formatType
- the format FnJodaString.FormatType
format
- string with the format used for the output
String
created from the input and argumentspublic static final org.op4j.functions.Function<org.joda.time.LocalTime,String> localTimeToStr(FnJodaString.FormatType formatType, String format, Locale locale)
It converts the input LocalTime
into a String
by means of the given pattern or style
(depending on the value of formatType parameter).
formatType
- the format FnJodaString.FormatType
format
- string with the format used for the outputlocale
- Locale
to be used
String
created from the input and argumentspublic static final org.op4j.functions.Function<org.joda.time.LocalTime,String> localTimeToStr(FnJodaString.FormatType formatType, String format, org.joda.time.Chronology chronology)
It converts the input LocalTime
into a String
by means of the given pattern or style
(depending on the value of formatType parameter).
formatType
- the format FnJodaString.FormatType
format
- string with the format used for the outputchronology
- Chronology
to be used
String
created from the input and argumentspublic static final org.op4j.functions.Function<org.joda.time.LocalTime,String> localTimeToStr(FnJodaString.FormatType formatType, String format, String locale)
It converts the input LocalTime
into a String
by means of the given pattern or style
(depending on the value of formatType parameter).
formatType
- the format FnJodaString.FormatType
format
- string with the format used for the outputlocale
- Locale
to be used
String
created from the input and argumentspublic static final org.op4j.functions.Function<org.joda.time.LocalTime,String> localTimeToStr(org.joda.time.format.DateTimeFormatter formatter)
It converts the input LocalTime
into a String
by means of the given DateTimeFormatter
formatter
- DateTimeFormatter
to generate the output String with
String
created from the input and argumentspublic static final org.op4j.functions.Function<org.joda.time.LocalDate,String> localDateToStr()
It converts the input LocalDate
into a String
String
created from the input and argumentspublic static final org.op4j.functions.Function<org.joda.time.LocalDate,String> localDateToStr(FnJodaString.FormatType formatType, String format)
It converts the input LocalDate
into a String
by means of the given pattern
or style (depending on the formatType value)
formatType
- the format FnJodaString.FormatType
format
- string with the format used for the output
String
created from the input and argumentspublic static final org.op4j.functions.Function<org.joda.time.LocalDate,String> localDateToStr(FnJodaString.FormatType formatType, String format, Locale locale)
It converts the input LocalDate
into a String
by means of the given pattern
or style (depending on the formatType value) with the given Locale
formatType
- the format FnJodaString.FormatType
format
- string with the format used for the outputlocale
- Locale
to be used
String
created from the input and argumentspublic static final org.op4j.functions.Function<org.joda.time.LocalDate,String> localDateToStr(FnJodaString.FormatType formatType, String format, org.joda.time.Chronology chronology)
It converts the input LocalDate
into a String
by means of the given pattern
or style (depending on the formatType value) with the given Chronology
formatType
- the format FnJodaString.FormatType
format
- string with the format used for the outputchronology
- Chronology
to be used
String
created from the input and argumentspublic static final org.op4j.functions.Function<org.joda.time.LocalDate,String> localDateToStr(FnJodaString.FormatType formatType, String format, String locale)
It converts the input LocalDate
into a String
by means of the given pattern
or style (depending on the formatType value) with the given Locale
formatType
- the format FnJodaString.FormatType
format
- string with the format used for the outputlocale
- Locale
to be used
String
created from the input and argumentspublic static final org.op4j.functions.Function<org.joda.time.LocalDate,String> localDateToStr(org.joda.time.format.DateTimeFormatter formatter)
It converts the input LocalDate
into a String
by means of the given DateTimeFormatter
formatter
- DateTimeFormatter
to generate the output String with
String
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.DateMidnight> strToDateMidnight(String pattern)
It converts the input String
into a DateMidnight
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
DateMidnight
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.DateMidnight> strToDateMidnight(String pattern, org.joda.time.DateTimeZone dateTimeZone)
It converts the input String
into a DateMidnight
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
DateMidnight
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.DateMidnight> strToDateMidnight(String pattern, org.joda.time.Chronology chronology)
It converts the input String
into a DateMidnight
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
DateMidnight
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.DateMidnight> strToDateMidnight(String pattern, Locale locale)
It converts the input String
into a DateMidnight
using the given pattern and
Locale
parameters
pattern
- string with the format of the input Stringlocale
- Locale
to be used
DateMidnight
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.DateMidnight> strToDateMidnight(String pattern, String locale)
It converts the input String
into a DateMidnight
using the given pattern and
Locale
parameters
pattern
- string with the format of the input Stringlocale
- Locale
to be used
DateMidnight
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.DateMidnight> strToDateMidnight(String pattern, Locale locale, org.joda.time.DateTimeZone dateTimeZone)
It converts the input String into a DateMidnight
using the given pattern and Locale
parameters.
The DateMidnight
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
DateMidnight
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.DateMidnight> strToDateMidnight(String pattern, String locale, org.joda.time.DateTimeZone dateTimeZone)
It converts the input String
into a DateMidnight
using the given pattern and Locale
parameters.
The DateMidnight
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
DateMidnight
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.DateMidnight> strToDateMidnight(String pattern, Locale locale, org.joda.time.Chronology chronology)
It converts the input String
into a DateMidnight
using the given pattern and Locale
parameters.
The DateMidnight
will be created with the given Chronology
pattern
- string with the format of the input Stringlocale
- Locale
to be usedchronology
- Chronology
to be used
DateMidnight
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.DateMidnight> strToDateMidnight(String pattern, String locale, org.joda.time.Chronology chronology)
It converts the input String into a DateMidnight
using the given pattern and Locale
parameters.
The DateMidnight
will be created with the given Chronology
pattern
- string with the format of the input Stringlocale
- Locale
to be usedchronology
- Chronology
to be used
DateMidnight
created from the input and argumentspublic static final <T extends Date> org.op4j.functions.Function<T,org.joda.time.DateMidnight> dateToDateMidnight()
The input Date
is converted into a DateMidnight
DateMidnight
created from the inputpublic static final <T extends Date> org.op4j.functions.Function<T,org.joda.time.DateMidnight> dateToDateMidnight(org.joda.time.DateTimeZone dateTimeZone)
The input Date
is converted into a DateMidnight
configured with the given
DateTimeZone
dateTimeZone
- the the time zone (DateTimeZone
) to be used
DateMidnight
created from the input and argumentspublic static final <T extends Date> org.op4j.functions.Function<T,org.joda.time.DateMidnight> dateToDateMidnight(org.joda.time.Chronology chronology)
The input Date
is converted into a DateMidnight
with the given
Chronology
chronology
- Chronology
to be used
DateMidnight
created from the input and argumentspublic static final org.op4j.functions.Function<Timestamp,org.joda.time.DateMidnight> timestampToDateMidnight()
The input Timestamp
is converted into a DateMidnight
DateMidnight
created from the inputpublic static final org.op4j.functions.Function<Timestamp,org.joda.time.DateMidnight> timestampToDateMidnight(org.joda.time.DateTimeZone dateTimeZone)
The input Timestamp
is converted into a DateMidnight
in the given
DateTimeZone
dateTimeZone
- the the time zone (DateTimeZone
) to be used
DateMidnight
created from the input and argumentspublic static final org.op4j.functions.Function<Timestamp,org.joda.time.DateMidnight> timestampToDateMidnight(org.joda.time.Chronology chronology)
The input Timestamp
is converted into a DateMidnight
with the given
Chronology
chronology
- Chronology
to be used
DateMidnight
created from the input and argumentspublic static final org.op4j.functions.Function<Long,org.joda.time.DateMidnight> longToDateMidnight()
The input Long
representing the time in milliseconds is converted into a DateMidnight
DateMidnight
created from the inputpublic static final org.op4j.functions.Function<Long,org.joda.time.DateMidnight> longToDateMidnight(org.joda.time.DateTimeZone dateTimeZone)
The input Long
representing the time in milliseconds is converted into a DateMidnight
in the given
DateTimeZone
dateTimeZone
- the the time zone (DateTimeZone
) to be used
DateMidnight
created from the input and argumentspublic static final org.op4j.functions.Function<Long,org.joda.time.DateMidnight> longToDateMidnight(org.joda.time.Chronology chronology)
The input Long
representing the time in milliseconds is converted into a DateMidnight
with the given
Chronology
chronology
- Chronology
to be used
DateMidnight
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<Integer>,org.joda.time.DateMidnight> integerFieldCollectionToDateMidnight()
A DateMidnight
is created from the input Integer
Collection
.
The valid input Collection<Integer> are:
DateMidnight
created from the inputpublic static final org.op4j.functions.Function<Collection<Integer>,org.joda.time.DateMidnight> integerFieldCollectionToDateMidnight(org.joda.time.Chronology chronology)
A DateMidnight
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
DateMidnight
created from the input and argumentspublic static final org.op4j.functions.Function<Integer[],org.joda.time.DateMidnight> integerFieldArrayToDateMidnight()
A DateMidnight
is created from the input Integer
array.
The valid input Integer[] are:
DateMidnight
created from the inputpublic static final org.op4j.functions.Function<Integer[],org.joda.time.DateMidnight> integerFieldArrayToDateMidnight(org.joda.time.Chronology chronology)
A DateMidnight
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
DateMidnight
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<String>,org.joda.time.DateMidnight> strFieldCollectionToDateMidnight()
A DateMidnight
is created from the input String
Collection
.
The valid input Collection<String> are:
DateMidnight
created from the inputpublic static final org.op4j.functions.Function<Collection<String>,org.joda.time.DateMidnight> strFieldCollectionToDateMidnight(org.joda.time.Chronology chronology)
A DateMidnight
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
DateMidnight
created from the input and argumentspublic static final org.op4j.functions.Function<String[],org.joda.time.DateMidnight> strFieldArrayToDateMidnight()
A DateMidnight
is created from the given String
array.
The valid input String[] are:
DateMidnight
created from the inputpublic static final org.op4j.functions.Function<String[],org.joda.time.DateMidnight> strFieldArrayToDateMidnight(org.joda.time.Chronology chronology)
A DateMidnight
is created from the input String
array.
The result will be created with the given Chronology
The valid input String[] are:
chronology
- Chronology
to be used
DateMidnight
created from the input and argumentspublic static final <T extends Calendar> org.op4j.functions.Function<T,org.joda.time.DateMidnight> calendarToDateMidnight()
It converts a Calendar
into a DateMidnight
DateMidnight
created from the inputpublic static final <T extends Calendar> org.op4j.functions.Function<T,org.joda.time.DateMidnight> calendarToDateMidnight(org.joda.time.DateTimeZone dateTimeZone)
It converts a Calendar
into a DateMidnight
in the given DateTimeZone
dateTimeZone
- the the time zone (DateTimeZone
) to be used
DateMidnight
created from the input and argumentspublic static final <T extends Calendar> org.op4j.functions.Function<T,org.joda.time.DateMidnight> calendarToDateMidnight(org.joda.time.Chronology chronology)
It converts a Calendar
into a DateMidnight
with the given Chronology
chronology
- Chronology
to be used
DateMidnight
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.DateTime> strToDateTime(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 argumentspublic static final org.op4j.functions.Function<String,org.joda.time.DateTime> strToDateTime(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 argumentspublic static final org.op4j.functions.Function<String,org.joda.time.DateTime> strToDateTime(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 argumentspublic static final org.op4j.functions.Function<String,org.joda.time.DateTime> strToDateTime(String pattern, 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 argumentspublic static final org.op4j.functions.Function<String,org.joda.time.DateTime> strToDateTime(String pattern, 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 argumentspublic static final org.op4j.functions.Function<String,org.joda.time.DateTime> strToDateTime(String pattern, 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 argumentspublic static final org.op4j.functions.Function<String,org.joda.time.DateTime> strToDateTime(String pattern, 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 argumentspublic static final org.op4j.functions.Function<String,org.joda.time.DateTime> strToDateTime(String pattern, 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 argumentspublic static final org.op4j.functions.Function<String,org.joda.time.DateTime> strToDateTime(String pattern, 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 Date> org.op4j.functions.Function<T,org.joda.time.DateTime> dateToDateTime()
The input Date
is converted into a DateTime
DateTime
created from the inputpublic static final <T extends Date> org.op4j.functions.Function<T,org.joda.time.DateTime> dateToDateTime(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 Date> org.op4j.functions.Function<T,org.joda.time.DateTime> dateToDateTime(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<Timestamp,org.joda.time.DateTime> timestampToDateTime()
The input Timestamp
is converted into a DateTime
DateTime
created from the inputpublic static final org.op4j.functions.Function<Timestamp,org.joda.time.DateTime> timestampToDateTime(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<Timestamp,org.joda.time.DateTime> timestampToDateTime(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<Long,org.joda.time.DateTime> longToDateTime()
The input Long
representing the time in milliseconds is converted into a DateTime
DateTime
created from the inputpublic static final org.op4j.functions.Function<Long,org.joda.time.DateTime> longToDateTime(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<Long,org.joda.time.DateTime> longToDateTime(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<Collection<Integer>,org.joda.time.DateTime> integerFieldCollectionToDateTime()
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<Collection<Integer>,org.joda.time.DateTime> integerFieldCollectionToDateTime(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<Integer[],org.joda.time.DateTime> integerFieldArrayToDateTime()
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<Integer[],org.joda.time.DateTime> integerFieldArrayToDateTime(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<Collection<String>,org.joda.time.DateTime> strFieldCollectionToDateTime()
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<Collection<String>,org.joda.time.DateTime> strFieldCollectionToDateTime(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<String[],org.joda.time.DateTime> strFieldArrayToDateTime()
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<String[],org.joda.time.DateTime> strFieldArrayToDateTime(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 Calendar> org.op4j.functions.Function<T,org.joda.time.DateTime> calendarToDateTime()
It converts a Calendar
into a DateTime
DateTime
created from the inputpublic static final <T extends Calendar> org.op4j.functions.Function<T,org.joda.time.DateTime> calendarToDateTime(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 Calendar> org.op4j.functions.Function<T,org.joda.time.DateTime> calendarToDateTime(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 argumentspublic static final org.op4j.functions.Function<Collection<String>,org.joda.time.Interval> strFieldCollectionToInterval()
It converts the input String
elements into an Interval
.
The target String
elements represent the start and end of the Interval
The accepted input Collection<String> are:
Interval
created from the inputpublic static final org.op4j.functions.Function<Collection<String>,org.joda.time.Interval> strFieldCollectionToInterval(org.joda.time.DateTimeZone dateTimeZone)
It converts the input String
elements into an Interval
.
The target String
elements represent the start and end of the Interval
.
The accepted input CCollection<String> are:
dateTimeZone
- the the time zone (DateTimeZone
) to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<String>,org.joda.time.Interval> strFieldCollectionToInterval(org.joda.time.Chronology chronology)
It converts the input String
elements into an Interval
.
The target String
elements represent the start and end of the Interval
.
The accepted input Collection<String> are:
chronology
- Chronology
to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<String>,org.joda.time.Interval> strFieldCollectionToInterval(String pattern)
It creates an Interval
using the target String
elements as the start and end. The given pattern
will be used to create the DateTime
objects from the given String
elements. 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
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<String>,org.joda.time.Interval> strFieldCollectionToInterval(String pattern, org.joda.time.DateTimeZone dateTimeZone)
It creates an Interval
from the given start and end String
elements 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
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<String>,org.joda.time.Interval> strFieldCollectionToInterval(String pattern, org.joda.time.Chronology chronology)
It creates an Interval
from the given start and end String
elements 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
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<String>,org.joda.time.Interval> strFieldCollectionToInterval(String pattern, Locale locale)
It creates an Interval
from the given String
elements using the given pattern
and Locale
parameters
pattern
- string with the format of the input Stringlocale
- Locale
to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<String>,org.joda.time.Interval> strFieldCollectionToInterval(String pattern, String locale)
It creates an Interval
from the given String
elements using the given pattern
and Locale
parameters
pattern
- string with the format of the input Stringlocale
- Locale
to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<String>,org.joda.time.Interval> strFieldCollectionToInterval(String pattern, Locale locale, org.joda.time.DateTimeZone dateTimeZone)
It creates an Interval
from the given String
elements using the given pattern
and Locale
parameters. The given DateTimeZone
will be used to create the Interval
.
pattern
- string with the format of the input Stringlocale
- Locale
to be useddateTimeZone
- the the time zone (DateTimeZone
) to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<String>,org.joda.time.Interval> strFieldCollectionToInterval(String pattern, String locale, org.joda.time.DateTimeZone dateTimeZone)
It creates an Interval
from the given String
elements using the given pattern
and Locale
parameters. The given DateTimeZone
will be used to create the Interval
.
pattern
- string with the format of the input Stringlocale
- Locale
to be useddateTimeZone
- the the time zone (DateTimeZone
) to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<String>,org.joda.time.Interval> strFieldCollectionToInterval(String pattern, Locale locale, org.joda.time.Chronology chronology)
It creates an Interval
from the input String
elements using the given pattern
and Locale
parameters. The given Chronology
will be used to create the Interval
.
pattern
- string with the format of the input Stringlocale
- Locale
to be usedchronology
- Chronology
to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<String>,org.joda.time.Interval> strFieldCollectionToInterval(String pattern, String locale, org.joda.time.Chronology chronology)
It creates an Interval
from the input String
elements using the given pattern
and Locale
parameters. The given Chronology
will be used to create the Interval
.
pattern
- string with the format of the input Stringlocale
- Locale
to be usedchronology
- Chronology
to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<String[],org.joda.time.Interval> strFieldArrayToInterval()
It converts the input String
elements into an Interval
.
The target String
elements represent the start and end of the Interval
.
The accepted input String[] are:
Interval
created from the inputpublic static final org.op4j.functions.Function<String[],org.joda.time.Interval> strFieldArrayToInterval(org.joda.time.DateTimeZone dateTimeZone)
It converts the input String
elements into an Interval
.
The target String
elements represent the start and end of the Interval
.
The accepted input String[] are:
dateTimeZone
- the the time zone (DateTimeZone
) to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<String[],org.joda.time.Interval> strFieldArrayToInterval(org.joda.time.Chronology chronology)
It converts the given String
elements into an Interval
.
The target String
elements represent the start and end of the Interval
.
The accepted input String[] are:
chronology
- Chronology
to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<String[],org.joda.time.Interval> strFieldArrayToInterval(String pattern)
It converts the given String
elements into an Interval
.
The target String
elements represent the start and end of the Interval
.
The accepted input String[] are:
pattern
- string with the format of the input String
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<String[],org.joda.time.Interval> strFieldArrayToInterval(String pattern, org.joda.time.DateTimeZone dateTimeZone)
It converts the input String
elements into an Interval
.
The target String
elements represent the start and end of the Interval
.
The accepted input String[] are:
pattern
- string with the format of the input StringdateTimeZone
- the the time zone (DateTimeZone
) to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<String[],org.joda.time.Interval> strFieldArrayToInterval(String pattern, org.joda.time.Chronology chronology)
It converts the input String
elements into an Interval
.
The target String
elements represent the start and end of the Interval
.
The accepted input String[] are:
pattern
- string with the format of the input Stringchronology
- Chronology
to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<String[],org.joda.time.Interval> strFieldArrayToInterval(String pattern, Locale locale)
It converts the input String
elements into an Interval
.
The target String
elements represent the start and end of the Interval
.
The accepted input String[] are:
pattern
- string with the format of the input Stringlocale
- Locale
to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<String[],org.joda.time.Interval> strFieldArrayToInterval(String pattern, String locale)
It converts the given String
elements into an Interval
.
The target String
elements represent the start and end of the Interval
.
The accepted input String[] are:
pattern
- string with the format of the input Stringlocale
- Locale
to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<String[],org.joda.time.Interval> strFieldArrayToInterval(String pattern, Locale locale, org.joda.time.DateTimeZone dateTimeZone)
It converts the given String
elements into an Interval
.
The target String
elements represent the start and end of the Interval
.
The accepted input String[] are:
pattern
- string with the format of the input Stringlocale
- Locale
to be useddateTimeZone
- the the time zone (DateTimeZone
) to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<String[],org.joda.time.Interval> strFieldArrayToInterval(String pattern, String locale, org.joda.time.DateTimeZone dateTimeZone)
It converts the given String
elements into an Interval
.
The target String
elements represent the start and end of the Interval
.
The accepted input String[] are:
pattern
- string with the format of the input Stringlocale
- Locale
to be useddateTimeZone
- the the time zone (DateTimeZone
) to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<String[],org.joda.time.Interval> strFieldArrayToInterval(String pattern, Locale locale, org.joda.time.Chronology chronology)
It converts the given String
elements into an Interval
.
The target String
elements represent the start and end of the Interval
.
The accepted input String[] are:
pattern
- string with the format of the input Stringlocale
- Locale
to be usedchronology
- Chronology
to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<String[],org.joda.time.Interval> strFieldArrayToInterval(String pattern, String locale, org.joda.time.Chronology chronology)
It converts the given String
elements into an Interval
.
The target String
elements represent the start and end of the Interval
.
The accepted input String[] are:
pattern
- string with the format of the input Stringlocale
- Locale
to be usedchronology
- Chronology
to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<? extends Date>,org.joda.time.Interval> dateFieldCollectionToInterval()
It creates an Interval
from the input Date
elements
Interval
created from the inputpublic static final org.op4j.functions.Function<Collection<? extends Date>,org.joda.time.Interval> dateFieldCollectionToInterval(org.joda.time.DateTimeZone dateTimeZone)
It creates an Interval
from the input Date
elements.
The Interval
will be created with the given DateTimeZone
dateTimeZone
- the the time zone (DateTimeZone
) to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<? extends Date>,org.joda.time.Interval> dateFieldCollectionToInterval(org.joda.time.Chronology chronology)
It creates an Interval
from the input Date
elements.
The Interval
will be created with the given Chronology
chronology
- Chronology
to be used
Interval
created from the input and argumentspublic static final <T extends Date> org.op4j.functions.Function<T[],org.joda.time.Interval> dateFieldArrayToInterval()
It creates an Interval
from the given Date
elements.
Interval
created from the inputpublic static final <T extends Date> org.op4j.functions.Function<T[],org.joda.time.Interval> dateFieldArrayToInterval(org.joda.time.DateTimeZone dateTimeZone)
It creates an Interval
from the input Date
elements.
The Interval
will be created with the given DateTimeZone
dateTimeZone
- the the time zone (DateTimeZone
) to be used
Interval
created from the input and argumentspublic static final <T extends Date> org.op4j.functions.Function<T[],org.joda.time.Interval> dateFieldArrayToInterval(org.joda.time.Chronology chronology)
It creates an Interval
from the input Date
elements.
The Interval
will be created with the given Chronology
chronology
- Chronology
to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<Timestamp>,org.joda.time.Interval> timestampFieldCollectionToInterval()
The input Timestamp
target elements will be used as the start and end
of the Interval
returned
Interval
created from the inputpublic static final org.op4j.functions.Function<Collection<Timestamp>,org.joda.time.Interval> timestampFieldCollectionToInterval(org.joda.time.DateTimeZone dateTimeZone)
The input Timestamp
target elements will be used as the start and end
of the Interval
returned with the given DateTimeZone
dateTimeZone
- the the time zone (DateTimeZone
) to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<Timestamp>,org.joda.time.Interval> timestampFieldCollectionToInterval(org.joda.time.Chronology chronology)
The input Timestamp
target elements will be used as the start and end
of the Interval
returned with the given Chronology
chronology
- Chronology
to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<Timestamp[],org.joda.time.Interval> timestampFieldArrayToInterval()
The input Timestamp
target elements will be used as the start and end
of the Interval
returned
Interval
created from the inputpublic static final org.op4j.functions.Function<Timestamp[],org.joda.time.Interval> timestampFieldArrayToInterval(org.joda.time.DateTimeZone dateTimeZone)
The input Timestamp
target elements will be used as the start and end
of the Interval
returned with the given DateTimeZone
dateTimeZone
- the the time zone (DateTimeZone
) to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<Timestamp[],org.joda.time.Interval> timestampFieldArrayToInterval(org.joda.time.Chronology chronology)
The input Timestamp
target elements will be used as the start and end
of the Interval
returned with the given Chronology
chronology
- Chronology
to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<Long>,org.joda.time.Interval> longFieldCollectionToInterval()
The input Long
targets representing the time in milliseconds will be used as the start
and end of the Interval
returned
Interval
created from the inputpublic static final org.op4j.functions.Function<Collection<Long>,org.joda.time.Interval> longFieldCollectionToInterval(org.joda.time.DateTimeZone dateTimeZone)
The input Long
targets representing the time in milliseconds will be used as the start
and end of the Interval
returned. The Interval
will be created with the given
DateTimeZone
dateTimeZone
- the the time zone (DateTimeZone
) to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<Long>,org.joda.time.Interval> longFieldCollectionToInterval(org.joda.time.Chronology chronology)
The input Long
targets representing the time in milliseconds will be used as the start
and end of the Interval
returned. The Interval
will be created with the given
Chronology
chronology
- Chronology
to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<Long[],org.joda.time.Interval> longFieldArrayToInterval()
The input Long
targets representing the time in milliseconds will be used as the start
and end of the Interval
returned
Interval
created from the inputpublic static final org.op4j.functions.Function<Long[],org.joda.time.Interval> longFieldArrayToInterval(org.joda.time.DateTimeZone dateTimeZone)
The input Long
targets representing the time in milliseconds will be used as the start
and end of the Interval
returned. The Interval
will be created with the given
DateTimeZone
dateTimeZone
- the the time zone (DateTimeZone
) to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<Long[],org.joda.time.Interval> longFieldArrayToInterval(org.joda.time.Chronology chronology)
The input Long
targets representing the time in milliseconds will be used as the start
and end of the Interval
returned. The Interval
will be created with the given
Chronology
chronology
- Chronology
to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<Integer>,org.joda.time.Interval> integerFieldCollectionToInterval()
It converts the input Integer
elements into an Interval
.
The target Integer
elements represent the start and end of the Interval
.
The accepted input Collection<Integer> collections are:
Interval
created from the inputpublic static final org.op4j.functions.Function<Collection<Integer>,org.joda.time.Interval> integerFieldCollectionToInterval(org.joda.time.DateTimeZone dateTimeZone)
It converts the input Integer
elements into an Interval
with the given DateTime
.
The target Integer
elements represent the start and end of the Interval
.
The accepted input Collection<Integer> are:
dateTimeZone
- the the time zone (DateTimeZone
) to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<Integer>,org.joda.time.Interval> integerFieldCollectionToInterval(org.joda.time.Chronology chronology)
It converts the given Integer
elements into an Interval
. with the given Chronology
The target Integer
elements represent the start and end of the Interval
.
The accepted input Collection<Integer> are:
chronology
- Chronology
to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<Integer[],org.joda.time.Interval> integerFieldArrayToInterval()
It converts the given Integer
elements into an Interval
.
The target Integer
elements represent the start and end of the Interval
.
The accepted input Integer[] are:
Interval
created from the inputpublic static final org.op4j.functions.Function<Integer[],org.joda.time.Interval> integerFieldArrayToInterval(org.joda.time.DateTimeZone dateTimeZone)
It converts the given Integer
elements into an Interval
with the given DateTimeZone
.
The target Integer
elements represent the start and end of the Interval
.
The accepted input Integer[] are:
dateTimeZone
- the the time zone (DateTimeZone
) to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<Integer[],org.joda.time.Interval> integerFieldArrayToInterval(org.joda.time.Chronology chronology)
It converts the given Integer
elements into an Interval
with the given Chronology
.
The target Integer
elements represent the start and end of the Interval
.
The accepted input Integer[] are:
chronology
- Chronology
to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<? extends Calendar>,org.joda.time.Interval> calendarFieldCollectionToInterval()
It creates an Interval
from the input Calendar
targets used as the start
and end of the Interval
Interval
created from the inputpublic static final org.op4j.functions.Function<Collection<? extends Calendar>,org.joda.time.Interval> calendarFieldCollectionToInterval(org.joda.time.DateTimeZone dateTimeZone)
It creates an Interval
from the input Calendar
targets used as the start and end.
Such an Interval
will be created in the given DateTimeZone
dateTimeZone
- the the time zone (DateTimeZone
) to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<? extends Calendar>,org.joda.time.Interval> calendarFieldCollectionToInterval(org.joda.time.Chronology chronology)
It creates an Interval
from the input Calendar
targets used as the start and end.
The Interval
will be created with the given Chronology
chronology
- Chronology
to be used
Interval
created from the input and argumentspublic static final <T extends Calendar> org.op4j.functions.Function<T[],org.joda.time.Interval> calendarFieldArrayToInterval()
It creates an Interval
from the input Calendar
targets representing the start
and end of the Interval
Interval
created from the inputpublic static final <T extends Calendar> org.op4j.functions.Function<T[],org.joda.time.Interval> calendarFieldArrayToInterval(org.joda.time.DateTimeZone dateTimeZone)
It creates an Interval
from the input Calendar
targets representing the start and end.
Such an Interval
will be created in the given DateTimeZone
dateTimeZone
- the the time zone (DateTimeZone
) to be used
Interval
created from the input and argumentspublic static final <T extends Calendar> org.op4j.functions.Function<T[],org.joda.time.Interval> calendarFieldArrayToInterval(org.joda.time.Chronology chronology)
It creates an Interval
from the input Calendar
targets representing the start and end.
The Interval
will be created with the given Chronology
chronology
- Chronology
to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<? extends org.joda.time.base.BaseDateTime>,org.joda.time.Interval> baseDateTimeFieldCollectionToInterval()
The two target elements accepted by this function are used as the start and end of the
Interval
returned
Interval
created from the inputpublic static final org.op4j.functions.Function<Collection<? extends org.joda.time.base.BaseDateTime>,org.joda.time.Interval> baseDateTimeFieldCollectionToInterval(org.joda.time.DateTimeZone dateTimeZone)
The two target elements accepted by this function are used as the start and end of the
Interval
being created with the given DateTimeZone
dateTimeZone
- the the time zone (DateTimeZone
) to be used
Interval
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<? extends org.joda.time.base.BaseDateTime>,org.joda.time.Interval> baseDateTimeFieldCollectionToInterval(org.joda.time.Chronology chronology)
The two target elements accepted by this function are used as the start and end of the
Interval
being created with the given Chronology
chronology
- Chronology
to be used
Interval
created from the input and argumentspublic static final <T extends org.joda.time.base.BaseDateTime> org.op4j.functions.Function<T[],org.joda.time.Interval> baseDateTimeFieldArrayToInterval()
The array accepted by this function, as its input, contains two BaseDateTime
objects used
as the start and end of the Interval
returned
Interval
created from the inputpublic static final <T extends org.joda.time.base.BaseDateTime> org.op4j.functions.Function<T[],org.joda.time.Interval> baseDateTimeFieldArrayToInterval(org.joda.time.DateTimeZone dateTimeZone)
The array accepted by this function, as its input, contains two BaseDateTime
objects used
as the start and end of the Interval
being created (with the given DateTimeZone
)
dateTimeZone
- the the time zone (DateTimeZone
) to be used
Interval
created from the input and argumentspublic static final <T extends org.joda.time.base.BaseDateTime> org.op4j.functions.Function<T[],org.joda.time.Interval> baseDateTimeFieldArrayToInterval(org.joda.time.Chronology chronology)
The array accepted by this function, as its input, contains two BaseDateTime
objects used
as the start and end of the Interval
being created (with the given Chronology
)
chronology
- Chronology
to be used
Interval
created from the input and argumentspublic 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 argumentspublic 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 argumentspublic static final org.op4j.functions.Function<Collection<? extends Date>,org.joda.time.Period> dateFieldCollectionToPeriod()
The function receives a Collection
of two Date
elements used as the start and end of the
Period
it creates
Period
created from the inputpublic static final org.op4j.functions.Function<Collection<? extends Date>,org.joda.time.Period> dateFieldCollectionToPeriod(org.joda.time.Chronology chronology)
The function receives a Collection
of two Date
elements used as the start and end of the
Period
it creates. The Period
will be created using the
specified Chronology
chronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<? extends Date>,org.joda.time.Period> dateFieldCollectionToPeriod(org.joda.time.PeriodType periodType)
The function receives a Collection
of two Date
elements used as the start and end of the
Period
it creates. The Period
will be created using the specified PeriodType
periodType
- the PeriodType
to be created. It specifies which duration fields are to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<? extends Date>,org.joda.time.Period> dateFieldCollectionToPeriod(org.joda.time.PeriodType periodType, org.joda.time.Chronology chronology)
The function receives a Collection
of two Date
elements used as the start and end of the
Period
it creates. The Period
will be created using the
specified PeriodType
and Chronology
periodType
- the PeriodType
to be created. It specifies which duration fields are to be usedchronology
- Chronology
to be used
Period
created from the input and argumentspublic static final <T extends Date> org.op4j.functions.Function<T[],org.joda.time.Period> dateFieldArrayToPeriod()
The function receives an Array of two Date
elements used as the start and end of the
Period
it creates
Period
created from the inputpublic static final <T extends Date> org.op4j.functions.Function<T[],org.joda.time.Period> dateFieldArrayToPeriod(org.joda.time.Chronology chronology)
The function receives an Array of two Date
elements used as the start and end of the
Period
it creates. The Period
will be created using the
specified Chronology
chronology
- Chronology
to be used
Period
created from the input and argumentspublic static final <T extends Date> org.op4j.functions.Function<T[],org.joda.time.Period> dateFieldArrayToPeriod(org.joda.time.PeriodType periodType)
The function receives an Array of two Date
elements used as the start and end of the
Period
it creates. The Period
will be created using the
specified PeriodType
periodType
- the PeriodType
to be created. It specifies which duration fields are to be used
Period
created from the input and argumentspublic static final <T extends Date> org.op4j.functions.Function<T[],org.joda.time.Period> dateFieldArrayToPeriod(org.joda.time.PeriodType periodType, org.joda.time.Chronology chronology)
The function receives an Array of two Date
elements used as the start and end of the
Period
it creates. The Period
will be created using the
specified PeriodType
and Chronology
periodType
- the PeriodType
to be created. It specifies which duration fields are to be usedchronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<Timestamp>,org.joda.time.Period> timestampFieldCollectionToPeriod()
The function receives a Collection
of two Timestamp
elements used as the start and end of the
Period
it creates
Period
created from the inputpublic static final org.op4j.functions.Function<Collection<Timestamp>,org.joda.time.Period> timestampFieldCollectionToPeriod(org.joda.time.Chronology chronology)
The function receives a Collection
of two Timestamp
elements used as the start and end of the
Period
it creates. The Period
will be created using the
specified Chronology
chronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<Timestamp>,org.joda.time.Period> timestampFieldCollectionToPeriod(org.joda.time.PeriodType periodType)
The function receives a Collection
of two Timestamp
elements used as the start and end of the
Period
it creates. The Period
will be created using the
specified PeriodType
periodType
- the PeriodType
to be created. It specifies which duration fields are to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<Timestamp>,org.joda.time.Period> timestampFieldCollectionToPeriod(org.joda.time.PeriodType periodType, org.joda.time.Chronology chronology)
The function receives a Collection
of two Timestamp
elements used as the start and end of the
Period
it creates. The Period
will be created using the specified
specified PeriodType
and Chronology
periodType
- the PeriodType
to be created. It specifies which duration fields are to be usedchronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Timestamp[],org.joda.time.Period> timestampFieldArrayToPeriod()
The function receives an Array of two Timestamp
elements used as the start and end of the
Period
it creates
Period
created from the inputpublic static final org.op4j.functions.Function<Timestamp[],org.joda.time.Period> timestampFieldArrayToPeriod(org.joda.time.Chronology chronology)
The function receives an Array of two Timestamp
elements used as the start and end of the
Period
it creates. The Period
will be created using the
specified Chronology
chronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Timestamp[],org.joda.time.Period> timestampFieldArrayToPeriod(org.joda.time.PeriodType periodType)
The function receives an Array of two Timestamp
elements used as the start and end of the
Period
it creates. The Period
will be created using the
specified PeriodType
periodType
- the PeriodType
to be created. It specifies which duration fields are to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Timestamp[],org.joda.time.Period> timestampFieldArrayToPeriod(org.joda.time.PeriodType periodType, org.joda.time.Chronology chronology)
The function receives an Array of two Timestamp
elements used as the start and end of the
Period
it creates. The Period
will be created using the specified
specified PeriodType
and Chronology
periodType
- the PeriodType
to be created. It specifies which duration fields are to be usedchronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Long,org.joda.time.Period> longToPeriod()
The function receives a Long representing the Period
duration in milliseconds
and creates a Period
with such duration
Period
created from the inputpublic static final org.op4j.functions.Function<Long,org.joda.time.Period> longToPeriod(org.joda.time.Chronology chronology)
Creates a Period
with the specified Chronology
and, as the duration, the input
received by this function (in milliseconds)
chronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Long,org.joda.time.Period> longToPeriod(org.joda.time.PeriodType periodType)
Creates a Period
with the specified PeriodType
and, as the duration, the input
received by this function (in milliseconds)
periodType
- the PeriodType
to be created. It specifies which duration fields are to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Long,org.joda.time.Period> longToPeriod(org.joda.time.PeriodType periodType, org.joda.time.Chronology chronology)
Creates a Period
with the specified PeriodType
and Chronology
and, as the duration, the input
received by this function (in milliseconds)
periodType
- the PeriodType
to be created. It specifies which duration fields are to be usedchronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<Long>,org.joda.time.Period> longFieldCollectionToPeriod()
The given Long
targets representing the time in milliseconds will be used as the start
and end instants of the Period
returned
Period
created from the inputpublic static final org.op4j.functions.Function<Collection<Long>,org.joda.time.Period> longFieldCollectionToPeriod(org.joda.time.Chronology chronology)
The given Long
targets representing the time in milliseconds will be used as the start
and end instants of the Period
returned
chronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<Long>,org.joda.time.Period> longFieldCollectionToPeriod(org.joda.time.PeriodType periodType)
The given Long
targets representing the time in milliseconds will be used as the start
and end instants of the Period
returned
periodType
- the PeriodType
to be created. It specifies which duration fields are to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<Long>,org.joda.time.Period> longFieldCollectionToPeriod(org.joda.time.PeriodType periodType, org.joda.time.Chronology chronology)
The given Long
targets representing the time in milliseconds will be used as the start
and end instants of the Period
returned
periodType
- the PeriodType
to be created. It specifies which duration fields are to be usedchronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Long[],org.joda.time.Period> longFieldArrayToPeriod()
The given Long
targets representing the time in milliseconds will be used as the start
and end instants of the Period
returned
Period
created from the inputpublic static final org.op4j.functions.Function<Long[],org.joda.time.Period> longFieldArrayToPeriod(org.joda.time.Chronology chronology)
The given Long
targets representing the time in milliseconds will be used as the start
and end instants of the Period
returned
chronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Long[],org.joda.time.Period> longFieldArrayToPeriod(org.joda.time.PeriodType periodType)
The given Long
targets representing the time in milliseconds will be used as the start
and end instants of the Period
returned
periodType
- the PeriodType
to be created. It specifies which duration fields are to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Long[],org.joda.time.Period> longFieldArrayToPeriod(org.joda.time.PeriodType periodType, org.joda.time.Chronology chronology)
The given Long
targets representing the time in milliseconds will be used as the start
and end instants of the Period
returned
periodType
- the PeriodType
to be created. It specifies which duration fields are to be usedchronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<? extends Calendar>,org.joda.time.Period> calendarFieldCollectionToPeriod()
It creates a Period
represented by the given start and end instants. The input received by the Function
must have size 2
Period
created from the inputpublic static final org.op4j.functions.Function<Collection<? extends Calendar>,org.joda.time.Period> calendarFieldCollectionToPeriod(org.joda.time.Chronology chronology)
It creates a Period
with the specified Chronology
. The input received by the Function
must have size 2 and represents the start and end instants of the Period
chronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<? extends Calendar>,org.joda.time.Period> calendarFieldCollectionToPeriod(org.joda.time.PeriodType periodType)
It creates a Period
with the specified PeriodType
. The input received by the Function
must have size 2 and represents the start and end instants of the Period
periodType
- the PeriodType
to be created. It specifies which duration fields are to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<? extends Calendar>,org.joda.time.Period> calendarFieldCollectionToPeriod(org.joda.time.PeriodType periodType, org.joda.time.Chronology chronology)
It creates a Period
with the specified PeriodType
and Chronology
. The input received by the Function
must have size 2 and represents the start and end instants of the Period
periodType
- the PeriodType
to be created. It specifies which duration fields are to be usedchronology
- Chronology
to be used
Period
created from the input and argumentspublic static final <T extends Calendar> org.op4j.functions.Function<T[],org.joda.time.Period> calendarFieldArrayToPeriod()
It creates a Period
represented by the given start and end instants
Period
created from the inputpublic static final <T extends Calendar> org.op4j.functions.Function<T[],org.joda.time.Period> calendarFieldArrayToPeriod(org.joda.time.Chronology chronology)
It creates a Period
with the specified Chronology
. The input received by the Function
must have size 2 and represents the start and end instants of the Period
chronology
- Chronology
to be used
Period
created from the input and argumentspublic static final <T extends Calendar> org.op4j.functions.Function<T[],org.joda.time.Period> calendarFieldArrayToPeriod(org.joda.time.PeriodType periodType)
It creates a Period
with the specified PeriodType
. The input received by the Function
must have size 2 and represents the start and end instants of the Period
periodType
- the PeriodType
to be created. It specifies which duration fields are to be used
Period
created from the input and argumentspublic static final <T extends Calendar> org.op4j.functions.Function<T[],org.joda.time.Period> calendarFieldArrayToPeriod(org.joda.time.PeriodType periodType, org.joda.time.Chronology chronology)
It creates a Period
with the specified PeriodType
and Chronology
. The input received by the Function
must have size 2 and represents the start and end instants of the Period
periodType
- the PeriodType
to be created. It specifies which duration fields are to be usedchronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<? extends org.joda.time.base.BaseDateTime>,org.joda.time.Period> baseDateTimeFieldCollectionToPeriod()
It creates a Period
represented by the given start and end instants
Period
created from the inputpublic static final org.op4j.functions.Function<Collection<? extends org.joda.time.base.BaseDateTime>,org.joda.time.Period> baseDateTimeFieldCollectionToPeriod(org.joda.time.Chronology chronology)
It creates a Period
with the specified Chronology
. The input received by the Function
must have size 2 and represents the start and end instants of the Period
chronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<? extends org.joda.time.base.BaseDateTime>,org.joda.time.Period> baseDateTimeFieldCollectionToPeriod(org.joda.time.PeriodType periodType)
It creates a Period
with the specified PeriodType
. The input received by the Function
must have size 2 and represents the start and end instants of the Period
periodType
- the PeriodType
to be created. It specifies which duration fields are to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<? extends org.joda.time.base.BaseDateTime>,org.joda.time.Period> baseDateTimeFieldCollectionToPeriod(org.joda.time.PeriodType periodType, org.joda.time.Chronology chronology)
It creates a Period
with the specified PeriodType
and Chronology
. The input received by the Function
must have size 2 and represents the start and end instants of the Period
periodType
- the PeriodType
to be created. It specifies which duration fields are to be usedchronology
- Chronology
to be used
Period
created from the input and argumentspublic static final <T extends org.joda.time.base.BaseDateTime> org.op4j.functions.Function<T[],org.joda.time.Period> baseDateTimeFieldArrayToPeriod()
It creates a Period
represented by the given start and end instants
Period
created from the inputpublic static final <T extends org.joda.time.base.BaseDateTime> org.op4j.functions.Function<T[],org.joda.time.Period> baseDateTimeFieldArrayToPeriod(org.joda.time.Chronology chronology)
It creates a Period
with the specified Chronology
. The input received by the Function
must have size 2 and represents the start and end instants of the Period
chronology
- Chronology
to be used
Period
created from the input and argumentspublic static final <T extends org.joda.time.base.BaseDateTime> org.op4j.functions.Function<T[],org.joda.time.Period> baseDateTimeFieldArrayToPeriod(org.joda.time.PeriodType periodType)
It creates a Period
with the specified PeriodType
. The input received by the Function
must have size 2 and represents the start and end instants of the Period
periodType
- the PeriodType
to be created. It specifies which duration fields are to be used
Period
created from the input and argumentspublic static final <T extends org.joda.time.base.BaseDateTime> org.op4j.functions.Function<T[],org.joda.time.Period> baseDateTimeFieldArrayToPeriod(org.joda.time.PeriodType periodType, org.joda.time.Chronology chronology)
It creates a Period
with the specified PeriodType
and Chronology
. The input received by the Function
must have size 2 and represents the start and end instants of the Period
periodType
- the PeriodType
to be created. It specifies which duration fields are to be usedchronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<Integer>,org.joda.time.Period> integerFieldCollectionToPeriod()
It creates a Period either:
Collection
of Integer
representing the hours, minutes, seconds and millisecondsCollection
of Integer
representing the years, months, weeks, days, hours, minutes, seconds and milliseconds
Period
created from the inputpublic static final org.op4j.functions.Function<Collection<Integer>,org.joda.time.Period> integerFieldCollectionToPeriod(org.joda.time.PeriodType periodType)
It creates a Period with the specified PeriodType
either:
Collection
of Integer
representing the hours, minutes, seconds and millisecondsCollection
of Integer
representing the years, months, weeks, days, hours, minutes, seconds and milliseconds
periodType
- the PeriodType
to be created. It specifies which duration fields are to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Integer[],org.joda.time.Period> integerFieldArrayToPeriod()
It creates a Period either:
Period
created from the inputpublic static final org.op4j.functions.Function<Integer[],org.joda.time.Period> integerFieldArrayToPeriod(org.joda.time.PeriodType periodType)
It creates a Period with the specified PeriodType
either:
periodType
- the PeriodType
to be created. It specifies which duration fields are to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<String>,org.joda.time.Period> strFieldCollectionToPeriod()
A Period is created either:
Collection
of String
representing the hours, minutes, seconds and millisecondsCollection
of String
representing the years, months, weeks, days, hours, minutes, seconds and milliseconds
Period
created from the inputpublic static final org.op4j.functions.Function<Collection<String>,org.joda.time.Period> strFieldCollectionToPeriod(org.joda.time.PeriodType periodType)
A Period is created with the specified PeriodType
either:
Collection
of String
representing the hours, minutes, seconds and millisecondsCollection
of String
representing the years, months, weeks, days, hours, minutes, seconds and milliseconds
periodType
- the PeriodType
to be created. It specifies which duration fields are to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<String[],org.joda.time.Period> strFieldArrayToPeriod()
A Period is created either:
Period
created from the inputpublic static final org.op4j.functions.Function<String[],org.joda.time.Period> strFieldArrayToPeriod(org.joda.time.PeriodType periodType)
A Period is created with the specified PeriodType
either:
periodType
- the PeriodType
to be created. It specifies which duration fields are to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.MutableDateTime> strToMutableDateTime(String pattern)
It converts the input String
into a MutableDateTime
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
MutableDateTime
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.MutableDateTime> strToMutableDateTime(String pattern, org.joda.time.DateTimeZone dateTimeZone)
It converts the input String
into a MutableDateTime
using the given pattern parameter and with the given
MutableDateTimeZone
. 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
MutableDateTime
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.MutableDateTime> strToMutableDateTime(String pattern, org.joda.time.Chronology chronology)
It converts the input String
into a MutableDateTime
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
MutableDateTime
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.MutableDateTime> strToMutableDateTime(String pattern, Locale locale)
It converts the input String
into a MutableDateTime
using the given pattern and
Locale
parameters
pattern
- string with the format of the input Stringlocale
- Locale
to be used
MutableDateTime
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.MutableDateTime> strToMutableDateTime(String pattern, String locale)
It converts the given String
into a MutableDateTime
using the given pattern and
Locale
parameters
pattern
- string with the format of the input Stringlocale
- Locale
to be used
MutableDateTime
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.MutableDateTime> strToMutableDateTime(String pattern, Locale locale, org.joda.time.DateTimeZone dateTimeZone)
It converts the given String into a MutableDateTime
using the given pattern and Locale
parameters.
The MutableDateTime
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
MutableDateTime
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.MutableDateTime> strToMutableDateTime(String pattern, String locale, org.joda.time.DateTimeZone dateTimeZone)
It converts the given String
into a MutableDateTime
using the given pattern and Locale
parameters.
The MutableDateTime
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
MutableDateTime
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.MutableDateTime> strToMutableDateTime(String pattern, Locale locale, org.joda.time.Chronology chronology)
It converts the input String
into a MutableDateTime
using the given pattern and Locale
parameters.
The MutableDateTime
will be created with the given Chronology
pattern
- string with the format of the input Stringlocale
- Locale
to be usedchronology
- Chronology
to be used
MutableDateTime
created from the input and argumentspublic static final org.op4j.functions.Function<String,org.joda.time.MutableDateTime> strToMutableDateTime(String pattern, String locale, org.joda.time.Chronology chronology)
It converts the input String
into a MutableDateTime
using the given pattern and Locale
parameters.
The MutableDateTime
will be created with the given Chronology
pattern
- string with the format of the input Stringlocale
- Locale
to be usedchronology
- Chronology
to be used
MutableDateTime
created from the input and argumentspublic static final <T extends Date> org.op4j.functions.Function<T,org.joda.time.MutableDateTime> dateToMutableDateTime()
The input Date
is converted into a MutableDateTime
MutableDateTime
created from the inputpublic static final <T extends Date> org.op4j.functions.Function<T,org.joda.time.MutableDateTime> dateToMutableDateTime(org.joda.time.DateTimeZone dateTimeZone)
The input Date
is converted into a MutableDateTime
configured with the given
DateTimeZone
dateTimeZone
- the the time zone (DateTimeZone
) to be used
MutableDateTime
created from the input and argumentspublic static final <T extends Date> org.op4j.functions.Function<T,org.joda.time.MutableDateTime> dateToMutableDateTime(org.joda.time.Chronology chronology)
The input Date
is converted into a MutableDateTime
with the given
Chronology
chronology
- Chronology
to be used
MutableDateTime
created from the input and argumentspublic static final org.op4j.functions.Function<Timestamp,org.joda.time.MutableDateTime> timestampToMutableDateTime()
The input Timestamp
is converted into a MutableDateTime
MutableDateTime
created from the inputpublic static final org.op4j.functions.Function<Timestamp,org.joda.time.MutableDateTime> timestampToMutableDateTime(org.joda.time.DateTimeZone dateTimeZone)
The input Timestamp
is converted into a MutableDateTime
in the given
DateTimeZone
dateTimeZone
- the the time zone (DateTimeZone
) to be used
MutableDateTime
created from the input and argumentspublic static final org.op4j.functions.Function<Timestamp,org.joda.time.MutableDateTime> timestampToMutableDateTime(org.joda.time.Chronology chronology)
The input Timestamp
is converted into a MutableDateTime
with the given
Chronology
chronology
- Chronology
to be used
MutableDateTime
created from the input and argumentspublic static final org.op4j.functions.Function<Long,org.joda.time.MutableDateTime> longToMutableDateTime()
The input Long
representing the time in milliseconds is converted into a MutableDateTime
MutableDateTime
created from the inputpublic static final org.op4j.functions.Function<Long,org.joda.time.MutableDateTime> longToMutableDateTime(org.joda.time.DateTimeZone dateTimeZone)
The input Long
representing the time in milliseconds is converted into a MutableDateTime
in the given
MutableDateTimeZone
dateTimeZone
- the the time zone (DateTimeZone
) to be used
MutableDateTime
created from the input and argumentspublic static final org.op4j.functions.Function<Long,org.joda.time.MutableDateTime> longToMutableDateTime(org.joda.time.Chronology chronology)
The input Long
representing the time in milliseconds is converted into a MutableDateTime
with the given
Chronology
chronology
- Chronology
to be used
MutableDateTime
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<Integer>,org.joda.time.MutableDateTime> integerFieldCollectionToMutableDateTime()
A MutableDateTime
is created from the input Integer
Collection
.
The valid input Collection<Integer> are:
MutableDateTime
created from the inputpublic static final org.op4j.functions.Function<Collection<Integer>,org.joda.time.MutableDateTime> integerFieldCollectionToMutableDateTime(org.joda.time.Chronology chronology)
A MutableDateTime
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
MutableDateTime
created from the input and argumentspublic static final org.op4j.functions.Function<Integer[],org.joda.time.MutableDateTime> integerFieldArrayToMutableDateTime()
A MutableDateTime
is created from the given Integer
array.
The valid input Integer[] are:
MutableDateTime
created from the inputpublic static final org.op4j.functions.Function<Integer[],org.joda.time.MutableDateTime> integerFieldArrayToMutableDateTime(org.joda.time.Chronology chronology)
A MutableDateTime
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
MutableDateTime
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<String>,org.joda.time.MutableDateTime> strFieldCollectionToMutableDateTime()
A MutableDateTime
is created from the given String
Collection
.
The valid input Collection<String> are:
MutableDateTime
created from the inputpublic static final org.op4j.functions.Function<Collection<String>,org.joda.time.MutableDateTime> strFieldCollectionToMutableDateTime(org.joda.time.Chronology chronology)
A MutableDateTime
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
MutableDateTime
created from the input and argumentspublic static final org.op4j.functions.Function<String[],org.joda.time.MutableDateTime> strFieldArrayToMutableDateTime()
A MutableDateTime
is created from the given String
array.
The valid input String[] are:
MutableDateTime
created from the inputpublic static final org.op4j.functions.Function<String[],org.joda.time.MutableDateTime> strFieldArrayToMutableDateTime(org.joda.time.Chronology chronology)
A MutableDateTime
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
MutableDateTime
created from the input and argumentspublic static final <T extends Calendar> org.op4j.functions.Function<T,org.joda.time.MutableDateTime> calendarToMutableDateTime()
It converts a Calendar
into a MutableDateTime
MutableDateTime
created from the inputpublic static final <T extends Calendar> org.op4j.functions.Function<T,org.joda.time.MutableDateTime> calendarToMutableDateTime(org.joda.time.DateTimeZone dateTimeZone)
It converts a Calendar
into a MutableDateTime
in the given DateTimeZone
dateTimeZone
- the the time zone (DateTimeZone
) to be used
MutableDateTime
created from the input and argumentspublic static final <T extends Calendar> org.op4j.functions.Function<T,org.joda.time.MutableDateTime> calendarToMutableDateTime(org.joda.time.Chronology chronology)
It converts a Calendar
into a MutableDateTime
with the given Chronology
chronology
- Chronology
to be used
MutableDateTime
created from the input and arguments
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |