org.op4j.jodatime.functions
Class FnInterval

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

public final class FnInterval
extends Object

Since:
1.1
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 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
<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 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
<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 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<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<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<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<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<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<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<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<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
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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


Copyright © 2012 The OP4J team. All Rights Reserved.