org.op4j.jodatime.functions
Class FnJodaTimeUtils

Object
  extended by org.op4j.jodatime.functions.FnJodaTimeUtils

public class FnJodaTimeUtils
extends Object

Since:
1.0
Author:
Soraya Sánchez Labandeira

Method Summary
static
<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
static
<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)
static
<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)
static
<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
static
<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.
static
<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.
static
<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.
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
<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
static
<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.
static
<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.
static
<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
static
<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.
static
<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.
static
<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.
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
<T extends Calendar>
org.op4j.functions.Function<T,org.joda.time.DateMidnight>
calendarToDateMidnight()
           It converts a Calendar into a DateMidnight
static
<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
static
<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
static
<T extends Calendar>
org.op4j.functions.Function<T,org.joda.time.DateTime>
calendarToDateTime()
           It converts a Calendar into a DateTime
static
<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
static
<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
static
<T extends Calendar>
org.op4j.functions.Function<T,org.joda.time.LocalDate>
calendarToLocalDate()
           It converts a Calendar into a LocalDate
static
<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
static
<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
static
<T extends Calendar>
org.op4j.functions.Function<T,org.joda.time.LocalTime>
calendarToLocalTime()
           It converts a Calendar into a LocalTime
static
<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
static
<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
static
<T extends Calendar>
org.op4j.functions.Function<T,org.joda.time.MutableDateTime>
calendarToMutableDateTime()
           It converts a Calendar into a MutableDateTime
static
<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
static
<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
static
<T extends Date>
org.op4j.functions.Function<T[],org.joda.time.Interval>
dateFieldArrayToInterval()
           It creates an Interval from the given Date elements.
static
<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.
static
<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.
static
<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
static
<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.
static
<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.
static
<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.
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
<T extends Date>
org.op4j.functions.Function<T,org.joda.time.DateMidnight>
dateToDateMidnight()
           The input Date is converted into a DateMidnight
static
<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
static
<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
static
<T extends Date>
org.op4j.functions.Function<T,org.joda.time.DateTime>
dateToDateTime()
           The input Date is converted into a DateTime
static
<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
static
<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
static
<T extends Date>
org.op4j.functions.Function<T,org.joda.time.LocalDate>
dateToLocalDate()
           The input Date is converted into a LocalDate
static
<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
static
<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
static
<T extends Date>
org.op4j.functions.Function<T,org.joda.time.LocalTime>
dateToLocalTime()
           The given Date is converted into a LocalTime
static
<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
static
<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
static
<T extends Date>
org.op4j.functions.Function<T,org.joda.time.MutableDateTime>
dateToMutableDateTime()
           The input Date is converted into a MutableDateTime
static
<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
static
<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
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

baseDateTimeToStr

public static final org.op4j.functions.Function<org.joda.time.base.BaseDateTime,String> baseDateTimeToStr()

It converts the input BaseDateTime into a String

Returns:
the String created from the input and arguments

baseDateTimeToStr

public 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).

Parameters:
formatType - the format FnJodaString.FormatType
format - string with the format used for the output
Returns:
the String created from the input and arguments
Since:
1.1

baseDateTimeToStr

public 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).

Parameters:
formatType - the format FnJodaString.FormatType
format - string with the format used for the output
locale - Locale to be used
Returns:
the String created from the input and arguments
Since:
1.1

baseDateTimeToStr

public 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).

Parameters:
formatType - the format FnJodaString.FormatType
format - string with the format used for the output
chronology - Chronology to be used
Returns:
the String created from the input and arguments
Since:
1.1

baseDateTimeToStr

public 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).

Parameters:
formatType - the format FnJodaString.FormatType
format - string with the format used for the output
locale - Locale to be used
Returns:
the String created from the input and arguments
Since:
1.1

baseDateTimeToStr

public 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

Parameters:
formatter - DateTimeFormatter to generate the output String with
Returns:
the String created from the input and arguments

localTimeToStr

public static final org.op4j.functions.Function<org.joda.time.LocalTime,String> localTimeToStr()

It converts the input LocalTime into a String

Returns:
the String created from the input and arguments

localTimeToStr

public 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).

Parameters:
formatType - the format FnJodaString.FormatType
format - string with the format used for the output
Returns:
the String created from the input and arguments
Since:
1.1

localTimeToStr

public 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).

Parameters:
formatType - the format FnJodaString.FormatType
format - string with the format used for the output
locale - Locale to be used
Returns:
the String created from the input and arguments
Since:
1.1

localTimeToStr

public 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).

Parameters:
formatType - the format FnJodaString.FormatType
format - string with the format used for the output
chronology - Chronology to be used
Returns:
the String created from the input and arguments
Since:
1.1

localTimeToStr

public 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).

Parameters:
formatType - the format FnJodaString.FormatType
format - string with the format used for the output
locale - Locale to be used
Returns:
the String created from the input and arguments
Since:
1.1

localTimeToStr

public 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

Parameters:
formatter - DateTimeFormatter to generate the output String with
Returns:
the String created from the input and arguments

localDateToStr

public static final org.op4j.functions.Function<org.joda.time.LocalDate,String> localDateToStr()

It converts the input LocalDate into a String

Returns:
the String created from the input and arguments

localDateToStr

public 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)

Parameters:
formatType - the format FnJodaString.FormatType
format - string with the format used for the output
Returns:
the String created from the input and arguments
Since:
1.1

localDateToStr

public 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

Parameters:
formatType - the format FnJodaString.FormatType
format - string with the format used for the output
locale - Locale to be used
Returns:
the String created from the input and arguments
Since:
1.1

localDateToStr

public 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

Parameters:
formatType - the format FnJodaString.FormatType
format - string with the format used for the output
chronology - Chronology to be used
Returns:
the String created from the input and arguments
Since:
1.1

localDateToStr

public 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

Parameters:
formatType - the format FnJodaString.FormatType
format - string with the format used for the output
locale - Locale to be used
Returns:
the String created from the input and arguments
Since:
1.1

localDateToStr

public 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

Parameters:
formatter - DateTimeFormatter to generate the output String with
Returns:
the String created from the input and arguments

strToDateMidnight

public 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

Parameters:
pattern - string with the format of the input String
Returns:
the DateMidnight created from the input and arguments

strToDateMidnight

public 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

Parameters:
pattern - string with the format of the input String
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the DateMidnight created from the input and arguments

strToDateMidnight

public 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

Parameters:
pattern - string with the format of the input String
chronology - Chronology to be used
Returns:
the DateMidnight created from the input and arguments

strToDateMidnight

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
Returns:
the DateMidnight created from the input and arguments

strToDateMidnight

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
Returns:
the DateMidnight created from the input and arguments

strToDateMidnight

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the DateMidnight created from the input and arguments

strToDateMidnight

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the DateMidnight created from the input and arguments

strToDateMidnight

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
chronology - Chronology to be used
Returns:
the DateMidnight created from the input and arguments

strToDateMidnight

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
chronology - Chronology to be used
Returns:
the DateMidnight created from the input and arguments

dateToDateMidnight

public static final <T extends Date> org.op4j.functions.Function<T,org.joda.time.DateMidnight> dateToDateMidnight()

The input Date is converted into a DateMidnight

Returns:
the DateMidnight created from the input

dateToDateMidnight

public 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

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the DateMidnight created from the input and arguments

dateToDateMidnight

public 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

Parameters:
chronology - Chronology to be used
Returns:
the DateMidnight created from the input and arguments

timestampToDateMidnight

public static final org.op4j.functions.Function<Timestamp,org.joda.time.DateMidnight> timestampToDateMidnight()

The input Timestamp is converted into a DateMidnight

Returns:
the DateMidnight created from the input

timestampToDateMidnight

public 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

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the DateMidnight created from the input and arguments

timestampToDateMidnight

public 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

Parameters:
chronology - Chronology to be used
Returns:
the DateMidnight created from the input and arguments

longToDateMidnight

public 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

Returns:
the DateMidnight created from the input

longToDateMidnight

public 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

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the DateMidnight created from the input and arguments

longToDateMidnight

public 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

Parameters:
chronology - Chronology to be used
Returns:
the DateMidnight created from the input and arguments

integerFieldCollectionToDateMidnight

public 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:

Returns:
the DateMidnight created from the input

integerFieldCollectionToDateMidnight

public 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:

Parameters:
chronology - Chronology to be used
Returns:
the DateMidnight created from the input and arguments

integerFieldArrayToDateMidnight

public 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:

Returns:
the DateMidnight created from the input

integerFieldArrayToDateMidnight

public 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:

Parameters:
chronology - Chronology to be used
Returns:
the DateMidnight created from the input and arguments

strFieldCollectionToDateMidnight

public 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:

Returns:
the DateMidnight created from the input

strFieldCollectionToDateMidnight

public 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:

Parameters:
chronology - Chronology to be used
Returns:
the DateMidnight created from the input and arguments

strFieldArrayToDateMidnight

public 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:

Returns:
the DateMidnight created from the input

strFieldArrayToDateMidnight

public 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:

Parameters:
chronology - Chronology to be used
Returns:
the DateMidnight created from the input and arguments

calendarToDateMidnight

public static final <T extends Calendar> org.op4j.functions.Function<T,org.joda.time.DateMidnight> calendarToDateMidnight()

It converts a Calendar into a DateMidnight

Returns:
the DateMidnight created from the input

calendarToDateMidnight

public 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

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the DateMidnight created from the input and arguments

calendarToDateMidnight

public 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

Parameters:
chronology - Chronology to be used
Returns:
the DateMidnight created from the input and arguments

strToDateTime

public 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

Parameters:
pattern - string with the format of the input String
Returns:
the DateTime created from the input and arguments

strToDateTime

public 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

Parameters:
pattern - string with the format of the input String
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the DateTime created from the input and arguments

strToDateTime

public 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

Parameters:
pattern - string with the format of the input String
chronology - Chronology to be used
Returns:
the DateTime created from the input and arguments

strToDateTime

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
Returns:
the DateTime created from the input and arguments

strToDateTime

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
Returns:
the DateTime created from the input and arguments

strToDateTime

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the DateTime created from the input and arguments

strToDateTime

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the DateTime created from the input and arguments

strToDateTime

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
chronology - Chronology to be used
Returns:
the DateTime created from the input and arguments

strToDateTime

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
chronology - Chronology to be used
Returns:
the DateTime created from the input and arguments

dateToDateTime

public static final <T extends Date> org.op4j.functions.Function<T,org.joda.time.DateTime> dateToDateTime()

The input Date is converted into a DateTime

Returns:
the DateTime created from the input

dateToDateTime

public 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

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the DateTime created from the input and arguments

dateToDateTime

public 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

Parameters:
chronology - Chronology to be used
Returns:
the DateTime created from the input and arguments

timestampToDateTime

public static final org.op4j.functions.Function<Timestamp,org.joda.time.DateTime> timestampToDateTime()

The input Timestamp is converted into a DateTime

Returns:
the DateTime created from the input

timestampToDateTime

public 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

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the DateTime created from the input and arguments

timestampToDateTime

public 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

Parameters:
chronology - Chronology to be used
Returns:
the DateTime created from the input and arguments

longToDateTime

public 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

Returns:
the DateTime created from the input

longToDateTime

public 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

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the DateTime created from the input and arguments

longToDateTime

public 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

Parameters:
chronology - Chronology to be used
Returns:
the DateTime created from the input and arguments

integerFieldCollectionToDateTime

public 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:

Returns:
the DateTime created from the input

integerFieldCollectionToDateTime

public 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:

Parameters:
chronology - Chronology to be used
Returns:
the DateTime created from the input and arguments

integerFieldArrayToDateTime

public 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:

Returns:
the DateTime created from the input

integerFieldArrayToDateTime

public 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:

Parameters:
chronology - Chronology to be used
Returns:
the DateTime created from the input and arguments

strFieldCollectionToDateTime

public 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:

Returns:
the DateTime created from the input

strFieldCollectionToDateTime

public 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:

Parameters:
chronology - Chronology to be used
Returns:
the DateTime created from the input and arguments

strFieldArrayToDateTime

public 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:

Returns:
the DateTime created from the input

strFieldArrayToDateTime

public 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:

Parameters:
chronology - Chronology to be used
Returns:
the DateTime created from the input and arguments

calendarToDateTime

public static final <T extends Calendar> org.op4j.functions.Function<T,org.joda.time.DateTime> calendarToDateTime()

It converts a Calendar into a DateTime

Returns:
the DateTime created from the input

calendarToDateTime

public 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

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the DateTime created from the input and arguments

calendarToDateTime

public 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

Parameters:
chronology - Chronology to be used
Returns:
the DateTime created from the input and arguments

strFieldCollectionToInterval

public 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:

Returns:
the Interval created from the input

strFieldCollectionToInterval

public 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:

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the Interval created from the input and arguments

strFieldCollectionToInterval

public 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:

Parameters:
chronology - Chronology to be used
Returns:
the Interval created from the input and arguments

strFieldCollectionToInterval

public 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

Parameters:
pattern - string with the format of the input String
Returns:
the Interval created from the input and arguments

strFieldCollectionToInterval

public 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

Parameters:
pattern - string with the format of the input String
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the Interval created from the input and arguments

strFieldCollectionToInterval

public 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

Parameters:
pattern - string with the format of the input String
chronology - Chronology to be used
Returns:
the Interval created from the input and arguments

strFieldCollectionToInterval

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
Returns:
the Interval created from the input and arguments

strFieldCollectionToInterval

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
Returns:
the Interval created from the input and arguments

strFieldCollectionToInterval

public 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.

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the Interval created from the input and arguments

strFieldCollectionToInterval

public 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.

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the Interval created from the input and arguments

strFieldCollectionToInterval

public 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.

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
chronology - Chronology to be used
Returns:
the Interval created from the input and arguments

strFieldCollectionToInterval

public 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.

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
chronology - Chronology to be used
Returns:
the Interval created from the input and arguments

strFieldArrayToInterval

public 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:

Returns:
the Interval created from the input

strFieldArrayToInterval

public 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:

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the Interval created from the input and arguments

strFieldArrayToInterval

public 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:

Parameters:
chronology - Chronology to be used
Returns:
the Interval created from the input and arguments

strFieldArrayToInterval

public 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:

Parameters:
pattern - string with the format of the input String
Returns:
the Interval created from the input and arguments

strFieldArrayToInterval

public 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:

Parameters:
pattern - string with the format of the input String
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the Interval created from the input and arguments

strFieldArrayToInterval

public 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:

Parameters:
pattern - string with the format of the input String
chronology - Chronology to be used
Returns:
the Interval created from the input and arguments

strFieldArrayToInterval

public 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:

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
Returns:
the Interval created from the input and arguments

strFieldArrayToInterval

public 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:

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
Returns:
the Interval created from the input and arguments

strFieldArrayToInterval

public 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:

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the Interval created from the input and arguments

strFieldArrayToInterval

public 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:

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the Interval created from the input and arguments

strFieldArrayToInterval

public 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:

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
chronology - Chronology to be used
Returns:
the Interval created from the input and arguments

strFieldArrayToInterval

public 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:

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
chronology - Chronology to be used
Returns:
the Interval created from the input and arguments

dateFieldCollectionToInterval

public static final org.op4j.functions.Function<Collection<? extends Date>,org.joda.time.Interval> dateFieldCollectionToInterval()

It creates an Interval from the input Date elements

Returns:
the Interval created from the input

dateFieldCollectionToInterval

public 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

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the Interval created from the input and arguments

dateFieldCollectionToInterval

public 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

Parameters:
chronology - Chronology to be used
Returns:
the Interval created from the input and arguments

dateFieldArrayToInterval

public static final <T extends Date> org.op4j.functions.Function<T[],org.joda.time.Interval> dateFieldArrayToInterval()

It creates an Interval from the given Date elements.

Returns:
the Interval created from the input

dateFieldArrayToInterval

public 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

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the Interval created from the input and arguments

dateFieldArrayToInterval

public 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

Parameters:
chronology - Chronology to be used
Returns:
the Interval created from the input and arguments

timestampFieldCollectionToInterval

public 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

Returns:
the Interval created from the input

timestampFieldCollectionToInterval

public 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

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the Interval created from the input and arguments

timestampFieldCollectionToInterval

public 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

Parameters:
chronology - Chronology to be used
Returns:
the Interval created from the input and arguments

timestampFieldArrayToInterval

public 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

Returns:
the Interval created from the input

timestampFieldArrayToInterval

public 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

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the Interval created from the input and arguments

timestampFieldArrayToInterval

public 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

Parameters:
chronology - Chronology to be used
Returns:
the Interval created from the input and arguments

longFieldCollectionToInterval

public 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

Returns:
the Interval created from the input

longFieldCollectionToInterval

public 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

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the Interval created from the input and arguments

longFieldCollectionToInterval

public 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

Parameters:
chronology - Chronology to be used
Returns:
the Interval created from the input and arguments

longFieldArrayToInterval

public 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

Returns:
the Interval created from the input

longFieldArrayToInterval

public 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

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the Interval created from the input and arguments

longFieldArrayToInterval

public 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

Parameters:
chronology - Chronology to be used
Returns:
the Interval created from the input and arguments

integerFieldCollectionToInterval

public 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:

Returns:
the Interval created from the input

integerFieldCollectionToInterval

public 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:

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the Interval created from the input and arguments

integerFieldCollectionToInterval

public 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:

Parameters:
chronology - Chronology to be used
Returns:
the Interval created from the input and arguments

integerFieldArrayToInterval

public 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:

Returns:
the Interval created from the input

integerFieldArrayToInterval

public 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:

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the Interval created from the input and arguments

integerFieldArrayToInterval

public 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:

Parameters:
chronology - Chronology to be used
Returns:
the Interval created from the input and arguments

calendarFieldCollectionToInterval

public 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

Returns:
the Interval created from the input

calendarFieldCollectionToInterval

public 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

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the Interval created from the input and arguments

calendarFieldCollectionToInterval

public 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

Parameters:
chronology - Chronology to be used
Returns:
the Interval created from the input and arguments

calendarFieldArrayToInterval

public 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

Returns:
the Interval created from the input

calendarFieldArrayToInterval

public 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

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the Interval created from the input and arguments

calendarFieldArrayToInterval

public 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

Parameters:
chronology - Chronology to be used
Returns:
the Interval created from the input and arguments

baseDateTimeFieldCollectionToInterval

public 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

Returns:
the Interval created from the input

baseDateTimeFieldCollectionToInterval

public 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

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the Interval created from the input and arguments

baseDateTimeFieldCollectionToInterval

public 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

Parameters:
chronology - Chronology to be used
Returns:
the Interval created from the input and arguments

baseDateTimeFieldArrayToInterval

public 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

Returns:
the Interval created from the input

baseDateTimeFieldArrayToInterval

public 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)

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the Interval created from the input and arguments

baseDateTimeFieldArrayToInterval

public 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)

Parameters:
chronology - Chronology to be used
Returns:
the Interval created from the input and arguments

strToLocalDate

public static final org.op4j.functions.Function<String,org.joda.time.LocalDate> strToLocalDate(String pattern)

It converts the given String into a LocalDate using the given pattern parameter. If the pattern includes either, the name of the month or day of week, a conversion accepting a Locale must be used instead

Parameters:
pattern - string with the format of the input String
Returns:
the LocalDate created from the input and arguments

strToLocalDate

public 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

Parameters:
pattern - string with the format of the input String
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the LocalDate created from the input and arguments

strToLocalDate

public 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

Parameters:
pattern - string with the format of the input String
chronology - Chronology to be used
Returns:
the LocalDate created from the input and arguments

strToLocalDate

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
Returns:
the LocalDate created from the input and arguments

strToLocalDate

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
Returns:
the LocalDate created from the input and arguments

strToLocalDate

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the LocalDate created from the input and arguments

strToLocalDate

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the LocalDate created from the input and arguments

strToLocalDate

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
chronology - Chronology to be used
Returns:
the LocalDate created from the input and arguments

strToLocalDate

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
chronology - Chronology to be used
Returns:
the LocalDate created from the input and arguments

dateToLocalDate

public static final <T extends Date> org.op4j.functions.Function<T,org.joda.time.LocalDate> dateToLocalDate()

The input Date is converted into a LocalDate

Returns:
the LocalDate created from the input

dateToLocalDate

public 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

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the LocalDate created from the input and arguments

dateToLocalDate

public 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

Parameters:
chronology - Chronology to be used
Returns:
the LocalDate created from the input and arguments

timestampToLocalDate

public static final org.op4j.functions.Function<Timestamp,org.joda.time.LocalDate> timestampToLocalDate()

The input Timestamp is converted into a LocalDate

Returns:
the LocalDate created from the input

timestampToLocalDate

public 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

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the LocalDate created from the input and arguments

timestampToLocalDate

public 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

Parameters:
chronology - Chronology to be used
Returns:
the LocalDate created from the input and arguments

longToLocalDate

public 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

Returns:
the LocalDate created from the input

longToLocalDate

public 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

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the LocalDate created from the input and arguments

longToLocalDate

public 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

Parameters:
chronology - Chronology to be used
Returns:
the LocalDate created from the input and arguments

integerFieldCollectionToLocalDate

public 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:

Returns:
the LocalDate created from the input

integerFieldCollectionToLocalDate

public 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:

Parameters:
chronology - Chronology to be used
Returns:
the LocalDate created from the input and arguments

integerFieldArrayToLocalDate

public 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:

Returns:
the LocalDate created from the input

integerFieldArrayToLocalDate

public 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:

Parameters:
chronology - Chronology to be used
Returns:
the LocalDate created from the input and arguments

strFieldCollectionToLocalDate

public 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:

Returns:
the LocalDate created from the input

strFieldCollectionToLocalDate

public 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:

Parameters:
chronology - Chronology to be used
Returns:
the LocalDate created from the input and arguments

strFieldArrayToLocalDate

public 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:

Returns:
the LocalDate created from the input

strFieldArrayToLocalDate

public 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:

Parameters:
chronology - Chronology to be used
Returns:
the LocalDate created from the input and arguments

calendarToLocalDate

public static final <T extends Calendar> org.op4j.functions.Function<T,org.joda.time.LocalDate> calendarToLocalDate()

It converts a Calendar into a LocalDate

Returns:
the LocalDate created from the input

calendarToLocalDate

public 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

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the LocalDate created from the input and arguments

calendarToLocalDate

public 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

Parameters:
chronology - Chronology to be used
Returns:
the LocalDate created from the input and arguments

strToLocalTime

public static final org.op4j.functions.Function<String,org.joda.time.LocalTime> strToLocalTime(String pattern)

It converts the given String into a LocalTime using the given pattern parameter. If the pattern includes either, the name of the month or day of week, a conversion accepting a Locale must be used instead

Parameters:
pattern - string with the format of the input String
Returns:
the LocalTime created from the input and arguments

strToLocalTime

public 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

Parameters:
pattern - string with the format of the input String
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the LocalTime created from the input and arguments

strToLocalTime

public 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

Parameters:
pattern - string with the format of the input String
chronology - Chronology to be used
Returns:
the LocalTime created from the input and arguments

strToLocalTime

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
Returns:
the LocalTime created from the input and arguments

strToLocalTime

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
Returns:
the LocalTime created from the input and arguments

strToLocalTime

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the LocalTime created from the input and arguments

strToLocalTime

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the LocalTime created from the input and arguments

strToLocalTime

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
chronology - Chronology to be used
Returns:
the LocalTime created from the input and arguments

strToLocalTime

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
chronology - Chronology to be used
Returns:
the LocalTime created from the input and arguments

dateToLocalTime

public static final <T extends Date> org.op4j.functions.Function<T,org.joda.time.LocalTime> dateToLocalTime()

The given Date is converted into a LocalTime

Returns:
the LocalTime created from the input

dateToLocalTime

public 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

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the LocalTime created from the input and arguments

dateToLocalTime

public 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

Parameters:
chronology - Chronology to be used
Returns:
the LocalTime created from the input and arguments

timestampToLocalTime

public static final org.op4j.functions.Function<Timestamp,org.joda.time.LocalTime> timestampToLocalTime()

The given Timestamp is converted into a LocalTime

Returns:
the LocalTime created from the input

timestampToLocalTime

public 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

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the LocalTime created from the input and arguments

timestampToLocalTime

public 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

Parameters:
chronology - Chronology to be used
Returns:
the LocalTime created from the input and arguments

longToLocalTime

public 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

Returns:
the LocalTime created from the input

longToLocalTime

public 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

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the LocalTime created from the input and arguments

longToLocalTime

public 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

Parameters:
chronology - Chronology to be used
Returns:
the LocalTime created from the input and arguments

integerFieldCollectionToLocalTime

public 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:

Returns:
the LocalTime created from the input

integerFieldCollectionToLocalTime

public 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:

Parameters:
chronology - Chronology to be used
Returns:
the LocalTime created from the input and arguments

integerFieldArrayToLocalTime

public 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:

Returns:
the LocalTime created from the input

integerFieldArrayToLocalTime

public 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:

Parameters:
chronology - Chronology to be used
Returns:
the LocalTime created from the input and arguments

strFieldCollectionToLocalTime

public 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:

Returns:
the LocalTime created from the input

strFieldCollectionToLocalTime

public 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:

Parameters:
chronology - Chronology to be used
Returns:
the LocalTime created from the input and arguments

strFieldArrayToLocalTime

public 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:

Returns:
the LocalTime created from the input

strFieldArrayToLocalTime

public 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:

Parameters:
chronology - Chronology to be used
Returns:
the LocalTime created from the input and arguments

calendarToLocalTime

public static final <T extends Calendar> org.op4j.functions.Function<T,org.joda.time.LocalTime> calendarToLocalTime()

It converts a Calendar into a LocalTime

Returns:
the LocalTime created from the input

calendarToLocalTime

public 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

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the LocalTime created from the input and arguments

calendarToLocalTime

public 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

Parameters:
chronology - Chronology to be used
Returns:
the LocalTime created from the input and arguments

dateFieldCollectionToPeriod

public 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

Returns:
the Period created from the input

dateFieldCollectionToPeriod

public 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

Parameters:
chronology - Chronology to be used
Returns:
the Period created from the input and arguments

dateFieldCollectionToPeriod

public 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

Parameters:
periodType - the PeriodType to be created. It specifies which duration fields are to be used
Returns:
the Period created from the input and arguments

dateFieldCollectionToPeriod

public 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

Parameters:
periodType - the PeriodType to be created. It specifies which duration fields are to be used
chronology - Chronology to be used
Returns:
the Period created from the input and arguments

dateFieldArrayToPeriod

public 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

Returns:
the Period created from the input

dateFieldArrayToPeriod

public 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

Parameters:
chronology - Chronology to be used
Returns:
the Period created from the input and arguments

dateFieldArrayToPeriod

public 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

Parameters:
periodType - the PeriodType to be created. It specifies which duration fields are to be used
Returns:
the Period created from the input and arguments

dateFieldArrayToPeriod

public 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

Parameters:
periodType - the PeriodType to be created. It specifies which duration fields are to be used
chronology - Chronology to be used
Returns:
the Period created from the input and arguments

timestampFieldCollectionToPeriod

public 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

Returns:
the Period created from the input

timestampFieldCollectionToPeriod

public 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

Parameters:
chronology - Chronology to be used
Returns:
the Period created from the input and arguments

timestampFieldCollectionToPeriod

public 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

Parameters:
periodType - the PeriodType to be created. It specifies which duration fields are to be used
Returns:
the Period created from the input and arguments

timestampFieldCollectionToPeriod

public 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

Parameters:
periodType - the PeriodType to be created. It specifies which duration fields are to be used
chronology - Chronology to be used
Returns:
the Period created from the input and arguments

timestampFieldArrayToPeriod

public 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

Returns:
the Period created from the input

timestampFieldArrayToPeriod

public 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

Parameters:
chronology - Chronology to be used
Returns:
the Period created from the input and arguments

timestampFieldArrayToPeriod

public 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

Parameters:
periodType - the PeriodType to be created. It specifies which duration fields are to be used
Returns:
the Period created from the input and arguments

timestampFieldArrayToPeriod

public 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

Parameters:
periodType - the PeriodType to be created. It specifies which duration fields are to be used
chronology - Chronology to be used
Returns:
the Period created from the input and arguments

longToPeriod

public 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

Returns:
the Period created from the input

longToPeriod

public 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)

Parameters:
chronology - Chronology to be used
Returns:
the Period created from the input and arguments

longToPeriod

public 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)

Parameters:
periodType - the PeriodType to be created. It specifies which duration fields are to be used
Returns:
the Period created from the input and arguments

longToPeriod

public 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)

Parameters:
periodType - the PeriodType to be created. It specifies which duration fields are to be used
chronology - Chronology to be used
Returns:
the Period created from the input and arguments

longFieldCollectionToPeriod

public 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

Returns:
the Period created from the input

longFieldCollectionToPeriod

public 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

Parameters:
chronology - Chronology to be used
Returns:
the Period created from the input and arguments

longFieldCollectionToPeriod

public 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

Parameters:
periodType - the PeriodType to be created. It specifies which duration fields are to be used
Returns:
the Period created from the input and arguments

longFieldCollectionToPeriod

public 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

Parameters:
periodType - the PeriodType to be created. It specifies which duration fields are to be used
chronology - Chronology to be used
Returns:
the Period created from the input and arguments

longFieldArrayToPeriod

public 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

Returns:
the Period created from the input

longFieldArrayToPeriod

public 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

Parameters:
chronology - Chronology to be used
Returns:
the Period created from the input and arguments

longFieldArrayToPeriod

public 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

Parameters:
periodType - the PeriodType to be created. It specifies which duration fields are to be used
Returns:
the Period created from the input and arguments

longFieldArrayToPeriod

public 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

Parameters:
periodType - the PeriodType to be created. It specifies which duration fields are to be used
chronology - Chronology to be used
Returns:
the Period created from the input and arguments

calendarFieldCollectionToPeriod

public 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

Returns:
the Period created from the input

calendarFieldCollectionToPeriod

public 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

Parameters:
chronology - Chronology to be used
Returns:
the Period created from the input and arguments

calendarFieldCollectionToPeriod

public 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

Parameters:
periodType - the PeriodType to be created. It specifies which duration fields are to be used
Returns:
the Period created from the input and arguments

calendarFieldCollectionToPeriod

public 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

Parameters:
periodType - the PeriodType to be created. It specifies which duration fields are to be used
chronology - Chronology to be used
Returns:
the Period created from the input and arguments

calendarFieldArrayToPeriod

public 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

Returns:
the Period created from the input

calendarFieldArrayToPeriod

public 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

Parameters:
chronology - Chronology to be used
Returns:
the Period created from the input and arguments

calendarFieldArrayToPeriod

public 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

Parameters:
periodType - the PeriodType to be created. It specifies which duration fields are to be used
Returns:
the Period created from the input and arguments

calendarFieldArrayToPeriod

public 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

Parameters:
periodType - the PeriodType to be created. It specifies which duration fields are to be used
chronology - Chronology to be used
Returns:
the Period created from the input and arguments

baseDateTimeFieldCollectionToPeriod

public 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

Returns:
the Period created from the input

baseDateTimeFieldCollectionToPeriod

public 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

Parameters:
chronology - Chronology to be used
Returns:
the Period created from the input and arguments

baseDateTimeFieldCollectionToPeriod

public 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

Parameters:
periodType - the PeriodType to be created. It specifies which duration fields are to be used
Returns:
the Period created from the input and arguments

baseDateTimeFieldCollectionToPeriod

public 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

Parameters:
periodType - the PeriodType to be created. It specifies which duration fields are to be used
chronology - Chronology to be used
Returns:
the Period created from the input and arguments

baseDateTimeFieldArrayToPeriod

public 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

Returns:
the Period created from the input

baseDateTimeFieldArrayToPeriod

public 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

Parameters:
chronology - Chronology to be used
Returns:
the Period created from the input and arguments

baseDateTimeFieldArrayToPeriod

public 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

Parameters:
periodType - the PeriodType to be created. It specifies which duration fields are to be used
Returns:
the Period created from the input and arguments

baseDateTimeFieldArrayToPeriod

public 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

Parameters:
periodType - the PeriodType to be created. It specifies which duration fields are to be used
chronology - Chronology to be used
Returns:
the Period created from the input and arguments

integerFieldCollectionToPeriod

public static final org.op4j.functions.Function<Collection<Integer>,org.joda.time.Period> integerFieldCollectionToPeriod()

It creates a Period either:

Returns:
the Period created from the input

integerFieldCollectionToPeriod

public 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:

Parameters:
periodType - the PeriodType to be created. It specifies which duration fields are to be used
Returns:
the Period created from the input and arguments

integerFieldArrayToPeriod

public static final org.op4j.functions.Function<Integer[],org.joda.time.Period> integerFieldArrayToPeriod()

It creates a Period either:

Returns:
the Period created from the input

integerFieldArrayToPeriod

public 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:

Parameters:
periodType - the PeriodType to be created. It specifies which duration fields are to be used
Returns:
the Period created from the input and arguments

strFieldCollectionToPeriod

public static final org.op4j.functions.Function<Collection<String>,org.joda.time.Period> strFieldCollectionToPeriod()

A Period is created either:

Returns:
the Period created from the input

strFieldCollectionToPeriod

public 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:

Parameters:
periodType - the PeriodType to be created. It specifies which duration fields are to be used
Returns:
the Period created from the input and arguments

strFieldArrayToPeriod

public static final org.op4j.functions.Function<String[],org.joda.time.Period> strFieldArrayToPeriod()

A Period is created either:

Returns:
the Period created from the input

strFieldArrayToPeriod

public 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:

Parameters:
periodType - the PeriodType to be created. It specifies which duration fields are to be used
Returns:
the Period created from the input and arguments

strToMutableDateTime

public 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

Parameters:
pattern - string with the format of the input String
Returns:
the MutableDateTime created from the input and arguments
Since:
1.1

strToMutableDateTime

public 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

Parameters:
pattern - string with the format of the input String
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the MutableDateTime created from the input and arguments
Since:
1.1

strToMutableDateTime

public 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

Parameters:
pattern - string with the format of the input String
chronology - Chronology to be used
Returns:
the MutableDateTime created from the input and arguments
Since:
1.1

strToMutableDateTime

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
Returns:
the MutableDateTime created from the input and arguments
Since:
1.1

strToMutableDateTime

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
Returns:
the MutableDateTime created from the input and arguments
Since:
1.1

strToMutableDateTime

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the MutableDateTime created from the input and arguments
Since:
1.1

strToMutableDateTime

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the MutableDateTime created from the input and arguments
Since:
1.1

strToMutableDateTime

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
chronology - Chronology to be used
Returns:
the MutableDateTime created from the input and arguments
Since:
1.1

strToMutableDateTime

public 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

Parameters:
pattern - string with the format of the input String
locale - Locale to be used
chronology - Chronology to be used
Returns:
the MutableDateTime created from the input and arguments
Since:
1.1

dateToMutableDateTime

public static final <T extends Date> org.op4j.functions.Function<T,org.joda.time.MutableDateTime> dateToMutableDateTime()

The input Date is converted into a MutableDateTime

Returns:
the MutableDateTime created from the input
Since:
1.1

dateToMutableDateTime

public 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

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the MutableDateTime created from the input and arguments
Since:
1.1

dateToMutableDateTime

public 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

Parameters:
chronology - Chronology to be used
Returns:
the MutableDateTime created from the input and arguments
Since:
1.1

timestampToMutableDateTime

public static final org.op4j.functions.Function<Timestamp,org.joda.time.MutableDateTime> timestampToMutableDateTime()

The input Timestamp is converted into a MutableDateTime

Returns:
the MutableDateTime created from the input
Since:
1.1

timestampToMutableDateTime

public 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

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the MutableDateTime created from the input and arguments
Since:
1.1

timestampToMutableDateTime

public 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

Parameters:
chronology - Chronology to be used
Returns:
the MutableDateTime created from the input and arguments
Since:
1.1

longToMutableDateTime

public 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

Returns:
the MutableDateTime created from the input
Since:
1.1

longToMutableDateTime

public 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

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the MutableDateTime created from the input and arguments
Since:
1.1

longToMutableDateTime

public 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

Parameters:
chronology - Chronology to be used
Returns:
the MutableDateTime created from the input and arguments
Since:
1.1

integerFieldCollectionToMutableDateTime

public 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:

Returns:
the MutableDateTime created from the input
Since:
1.1

integerFieldCollectionToMutableDateTime

public 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:

Parameters:
chronology - Chronology to be used
Returns:
the MutableDateTime created from the input and arguments
Since:
1.1

integerFieldArrayToMutableDateTime

public 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:

Returns:
the MutableDateTime created from the input
Since:
1.1

integerFieldArrayToMutableDateTime

public 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:

Parameters:
chronology - Chronology to be used
Returns:
the MutableDateTime created from the input and arguments
Since:
1.1

strFieldCollectionToMutableDateTime

public 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:

Returns:
the MutableDateTime created from the input
Since:
1.1

strFieldCollectionToMutableDateTime

public 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:

Parameters:
chronology - Chronology to be used
Returns:
the MutableDateTime created from the input and arguments
Since:
1.1

strFieldArrayToMutableDateTime

public 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:

Returns:
the MutableDateTime created from the input
Since:
1.1

strFieldArrayToMutableDateTime

public 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:

Parameters:
chronology - Chronology to be used
Returns:
the MutableDateTime created from the input and arguments
Since:
1.1

calendarToMutableDateTime

public static final <T extends Calendar> org.op4j.functions.Function<T,org.joda.time.MutableDateTime> calendarToMutableDateTime()

It converts a Calendar into a MutableDateTime

Returns:
the MutableDateTime created from the input
Since:
1.1

calendarToMutableDateTime

public 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

Parameters:
dateTimeZone - the the time zone (DateTimeZone) to be used
Returns:
the MutableDateTime created from the input and arguments
Since:
1.1

calendarToMutableDateTime

public 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

Parameters:
chronology - Chronology to be used
Returns:
the MutableDateTime created from the input and arguments
Since:
1.1


Copyright © 2012 The OP4J team. All Rights Reserved.