|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectorg.op4j.jodatime.functions.FnPeriod
public final class FnPeriod
Method Summary | ||
---|---|---|
static
|
baseDateTimeFieldArrayToPeriod()
It creates a Period represented by the given start and end instants
|
|
static
|
baseDateTimeFieldArrayToPeriod(org.joda.time.Chronology chronology)
It creates a Period with the specified Chronology . |
|
static
|
baseDateTimeFieldArrayToPeriod(org.joda.time.PeriodType periodType)
It creates a Period with the specified PeriodType . |
|
static
|
baseDateTimeFieldArrayToPeriod(org.joda.time.PeriodType periodType,
org.joda.time.Chronology chronology)
It creates a Period with the specified PeriodType and Chronology . |
|
static org.op4j.functions.Function<Collection<? extends org.joda.time.base.BaseDateTime>,org.joda.time.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
|
calendarFieldArrayToPeriod()
It creates a Period represented by the given start and end instants
|
|
static
|
calendarFieldArrayToPeriod(org.joda.time.Chronology chronology)
It creates a Period with the specified Chronology . |
|
static
|
calendarFieldArrayToPeriod(org.joda.time.PeriodType periodType)
It creates a Period with the specified PeriodType . |
|
static
|
calendarFieldArrayToPeriod(org.joda.time.PeriodType periodType,
org.joda.time.Chronology chronology)
It creates a Period with the specified PeriodType and Chronology . |
|
static org.op4j.functions.Function<Collection<? extends Calendar>,org.joda.time.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
|
dateFieldArrayToPeriod()
The function receives an Array of two Date elements used as the start and end of the
Period it creates
|
|
static
|
dateFieldArrayToPeriod(org.joda.time.Chronology chronology)
The function receives an Array of two Date elements used as the start and end of the
Period it creates. |
|
static
|
dateFieldArrayToPeriod(org.joda.time.PeriodType periodType)
The function receives an Array of two Date elements used as the start and end of the
Period it creates. |
|
static
|
dateFieldArrayToPeriod(org.joda.time.PeriodType periodType,
org.joda.time.Chronology chronology)
The function receives an Array of two Date elements used as the start and end of the
Period it creates. |
|
static org.op4j.functions.Function<Collection<? extends Date>,org.joda.time.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 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.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<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.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.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.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.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<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.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. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final org.op4j.functions.Function<Collection<? extends Date>,org.joda.time.Period> dateFieldCollectionToPeriod()
The function receives a Collection
of two Date
elements used as the start and end of the
Period
it creates
Period
created from the inputpublic static final org.op4j.functions.Function<Collection<? extends Date>,org.joda.time.Period> dateFieldCollectionToPeriod(org.joda.time.Chronology chronology)
The function receives a Collection
of two Date
elements used as the start and end of the
Period
it creates. The Period
will be created using the
specified Chronology
chronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<? extends Date>,org.joda.time.Period> dateFieldCollectionToPeriod(org.joda.time.PeriodType periodType)
The function receives a Collection
of two Date
elements used as the start and end of the
Period
it creates. The Period
will be created using the specified PeriodType
periodType
- the PeriodType
to be created. It specifies which duration fields are to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<? extends Date>,org.joda.time.Period> dateFieldCollectionToPeriod(org.joda.time.PeriodType periodType, org.joda.time.Chronology chronology)
The function receives a Collection
of two Date
elements used as the start and end of the
Period
it creates. The Period
will be created using the
specified PeriodType
and Chronology
periodType
- the PeriodType
to be created. It specifies which duration fields are to be usedchronology
- Chronology
to be used
Period
created from the input and argumentspublic static final <T extends Date> org.op4j.functions.Function<T[],org.joda.time.Period> dateFieldArrayToPeriod()
The function receives an Array of two Date
elements used as the start and end of the
Period
it creates
Period
created from the inputpublic static final <T extends Date> org.op4j.functions.Function<T[],org.joda.time.Period> dateFieldArrayToPeriod(org.joda.time.Chronology chronology)
The function receives an Array of two Date
elements used as the start and end of the
Period
it creates. The Period
will be created using the
specified Chronology
chronology
- Chronology
to be used
Period
created from the input and argumentspublic static final <T extends Date> org.op4j.functions.Function<T[],org.joda.time.Period> dateFieldArrayToPeriod(org.joda.time.PeriodType periodType)
The function receives an Array of two Date
elements used as the start and end of the
Period
it creates. The Period
will be created using the
specified PeriodType
periodType
- the PeriodType
to be created. It specifies which duration fields are to be used
Period
created from the input and argumentspublic static final <T extends Date> org.op4j.functions.Function<T[],org.joda.time.Period> dateFieldArrayToPeriod(org.joda.time.PeriodType periodType, org.joda.time.Chronology chronology)
The function receives an Array of two Date
elements used as the start and end of the
Period
it creates. The Period
will be created using the
specified PeriodType
and Chronology
periodType
- the PeriodType
to be created. It specifies which duration fields are to be usedchronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<Timestamp>,org.joda.time.Period> timestampFieldCollectionToPeriod()
The function receives a Collection
of two Timestamp
elements used as the start and end of the
Period
it creates
Period
created from the inputpublic static final org.op4j.functions.Function<Collection<Timestamp>,org.joda.time.Period> timestampFieldCollectionToPeriod(org.joda.time.Chronology chronology)
The function receives a Collection
of two Timestamp
elements used as the start and end of the
Period
it creates. The Period
will be created using the
specified Chronology
chronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<Timestamp>,org.joda.time.Period> timestampFieldCollectionToPeriod(org.joda.time.PeriodType periodType)
The function receives a Collection
of two Timestamp
elements used as the start and end of the
Period
it creates. The Period
will be created using the
specified PeriodType
periodType
- the PeriodType
to be created. It specifies which duration fields are to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<Timestamp>,org.joda.time.Period> timestampFieldCollectionToPeriod(org.joda.time.PeriodType periodType, org.joda.time.Chronology chronology)
The function receives a Collection
of two Timestamp
elements used as the start and end of the
Period
it creates. The Period
will be created using the specified
specified PeriodType
and Chronology
periodType
- the PeriodType
to be created. It specifies which duration fields are to be usedchronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Timestamp[],org.joda.time.Period> timestampFieldArrayToPeriod()
The function receives an Array of two Timestamp
elements used as the start and end of the
Period
it creates
Period
created from the inputpublic static final org.op4j.functions.Function<Timestamp[],org.joda.time.Period> timestampFieldArrayToPeriod(org.joda.time.Chronology chronology)
The function receives an Array of two Timestamp
elements used as the start and end of the
Period
it creates. The Period
will be created using the
specified Chronology
chronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Timestamp[],org.joda.time.Period> timestampFieldArrayToPeriod(org.joda.time.PeriodType periodType)
The function receives an Array of two Timestamp
elements used as the start and end of the
Period
it creates. The Period
will be created using the
specified PeriodType
periodType
- the PeriodType
to be created. It specifies which duration fields are to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Timestamp[],org.joda.time.Period> timestampFieldArrayToPeriod(org.joda.time.PeriodType periodType, org.joda.time.Chronology chronology)
The function receives an Array of two Timestamp
elements used as the start and end of the
Period
it creates. The Period
will be created using the specified
specified PeriodType
and Chronology
periodType
- the PeriodType
to be created. It specifies which duration fields are to be usedchronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Long,org.joda.time.Period> longToPeriod()
The function receives a Long representing the Period
duration in milliseconds
and creates a Period
with such duration
Period
created from the inputpublic static final org.op4j.functions.Function<Long,org.joda.time.Period> longToPeriod(org.joda.time.Chronology chronology)
Creates a Period
with the specified Chronology
and, as the duration, the input
received by this function (in milliseconds)
chronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Long,org.joda.time.Period> longToPeriod(org.joda.time.PeriodType periodType)
Creates a Period
with the specified PeriodType
and, as the duration, the input
received by this function (in milliseconds)
periodType
- the PeriodType
to be created. It specifies which duration fields are to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Long,org.joda.time.Period> longToPeriod(org.joda.time.PeriodType periodType, org.joda.time.Chronology chronology)
Creates a Period
with the specified PeriodType
and Chronology
and, as the duration, the input
received by this function (in milliseconds)
periodType
- the PeriodType
to be created. It specifies which duration fields are to be usedchronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<Long>,org.joda.time.Period> longFieldCollectionToPeriod()
The given Long
targets representing the time in milliseconds will be used as the start
and end instants of the Period
returned
Period
created from the inputpublic static final org.op4j.functions.Function<Collection<Long>,org.joda.time.Period> longFieldCollectionToPeriod(org.joda.time.Chronology chronology)
The given Long
targets representing the time in milliseconds will be used as the start
and end instants of the Period
returned
chronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<Long>,org.joda.time.Period> longFieldCollectionToPeriod(org.joda.time.PeriodType periodType)
The given Long
targets representing the time in milliseconds will be used as the start
and end instants of the Period
returned
periodType
- the PeriodType
to be created. It specifies which duration fields are to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<Long>,org.joda.time.Period> longFieldCollectionToPeriod(org.joda.time.PeriodType periodType, org.joda.time.Chronology chronology)
The given Long
targets representing the time in milliseconds will be used as the start
and end instants of the Period
returned
periodType
- the PeriodType
to be created. It specifies which duration fields are to be usedchronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Long[],org.joda.time.Period> longFieldArrayToPeriod()
The given Long
targets representing the time in milliseconds will be used as the start
and end instants of the Period
returned
Period
created from the inputpublic static final org.op4j.functions.Function<Long[],org.joda.time.Period> longFieldArrayToPeriod(org.joda.time.Chronology chronology)
The given Long
targets representing the time in milliseconds will be used as the start
and end instants of the Period
returned
chronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Long[],org.joda.time.Period> longFieldArrayToPeriod(org.joda.time.PeriodType periodType)
The given Long
targets representing the time in milliseconds will be used as the start
and end instants of the Period
returned
periodType
- the PeriodType
to be created. It specifies which duration fields are to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Long[],org.joda.time.Period> longFieldArrayToPeriod(org.joda.time.PeriodType periodType, org.joda.time.Chronology chronology)
The given Long
targets representing the time in milliseconds will be used as the start
and end instants of the Period
returned
periodType
- the PeriodType
to be created. It specifies which duration fields are to be usedchronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<? extends Calendar>,org.joda.time.Period> calendarFieldCollectionToPeriod()
It creates a Period
represented by the given start and end instants. The input received by the Function
must have size 2
Period
created from the inputpublic static final org.op4j.functions.Function<Collection<? extends Calendar>,org.joda.time.Period> calendarFieldCollectionToPeriod(org.joda.time.Chronology chronology)
It creates a Period
with the specified Chronology
. The input received by the Function
must have size 2 and represents the start and end instants of the Period
chronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<? extends Calendar>,org.joda.time.Period> calendarFieldCollectionToPeriod(org.joda.time.PeriodType periodType)
It creates a Period
with the specified PeriodType
. The input received by the Function
must have size 2 and represents the start and end instants of the Period
periodType
- the PeriodType
to be created. It specifies which duration fields are to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<? extends Calendar>,org.joda.time.Period> calendarFieldCollectionToPeriod(org.joda.time.PeriodType periodType, org.joda.time.Chronology chronology)
It creates a Period
with the specified PeriodType
and Chronology
. The input received by the Function
must have size 2 and represents the start and end instants of the Period
periodType
- the PeriodType
to be created. It specifies which duration fields are to be usedchronology
- Chronology
to be used
Period
created from the input and argumentspublic static final <T extends Calendar> org.op4j.functions.Function<T[],org.joda.time.Period> calendarFieldArrayToPeriod()
It creates a Period
represented by the given start and end instants
Period
created from the inputpublic static final <T extends Calendar> org.op4j.functions.Function<T[],org.joda.time.Period> calendarFieldArrayToPeriod(org.joda.time.Chronology chronology)
It creates a Period
with the specified Chronology
. The input received by the Function
must have size 2 and represents the start and end instants of the Period
chronology
- Chronology
to be used
Period
created from the input and argumentspublic static final <T extends Calendar> org.op4j.functions.Function<T[],org.joda.time.Period> calendarFieldArrayToPeriod(org.joda.time.PeriodType periodType)
It creates a Period
with the specified PeriodType
. The input received by the Function
must have size 2 and represents the start and end instants of the Period
periodType
- the PeriodType
to be created. It specifies which duration fields are to be used
Period
created from the input and argumentspublic static final <T extends Calendar> org.op4j.functions.Function<T[],org.joda.time.Period> calendarFieldArrayToPeriod(org.joda.time.PeriodType periodType, org.joda.time.Chronology chronology)
It creates a Period
with the specified PeriodType
and Chronology
. The input received by the Function
must have size 2 and represents the start and end instants of the Period
periodType
- the PeriodType
to be created. It specifies which duration fields are to be usedchronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<? extends org.joda.time.base.BaseDateTime>,org.joda.time.Period> baseDateTimeFieldCollectionToPeriod()
It creates a Period
represented by the given start and end instants
Period
created from the inputpublic static final org.op4j.functions.Function<Collection<? extends org.joda.time.base.BaseDateTime>,org.joda.time.Period> baseDateTimeFieldCollectionToPeriod(org.joda.time.Chronology chronology)
It creates a Period
with the specified Chronology
. The input received by the Function
must have size 2 and represents the start and end instants of the Period
chronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<? extends org.joda.time.base.BaseDateTime>,org.joda.time.Period> baseDateTimeFieldCollectionToPeriod(org.joda.time.PeriodType periodType)
It creates a Period
with the specified PeriodType
. The input received by the Function
must have size 2 and represents the start and end instants of the Period
periodType
- the PeriodType
to be created. It specifies which duration fields are to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<? extends org.joda.time.base.BaseDateTime>,org.joda.time.Period> baseDateTimeFieldCollectionToPeriod(org.joda.time.PeriodType periodType, org.joda.time.Chronology chronology)
It creates a Period
with the specified PeriodType
and Chronology
. The input received by the Function
must have size 2 and represents the start and end instants of the Period
periodType
- the PeriodType
to be created. It specifies which duration fields are to be usedchronology
- Chronology
to be used
Period
created from the input and argumentspublic static final <T extends org.joda.time.base.BaseDateTime> org.op4j.functions.Function<T[],org.joda.time.Period> baseDateTimeFieldArrayToPeriod()
It creates a Period
represented by the given start and end instants
Period
created from the inputpublic static final <T extends org.joda.time.base.BaseDateTime> org.op4j.functions.Function<T[],org.joda.time.Period> baseDateTimeFieldArrayToPeriod(org.joda.time.Chronology chronology)
It creates a Period
with the specified Chronology
. The input received by the Function
must have size 2 and represents the start and end instants of the Period
chronology
- Chronology
to be used
Period
created from the input and argumentspublic static final <T extends org.joda.time.base.BaseDateTime> org.op4j.functions.Function<T[],org.joda.time.Period> baseDateTimeFieldArrayToPeriod(org.joda.time.PeriodType periodType)
It creates a Period
with the specified PeriodType
. The input received by the Function
must have size 2 and represents the start and end instants of the Period
periodType
- the PeriodType
to be created. It specifies which duration fields are to be used
Period
created from the input and argumentspublic static final <T extends org.joda.time.base.BaseDateTime> org.op4j.functions.Function<T[],org.joda.time.Period> baseDateTimeFieldArrayToPeriod(org.joda.time.PeriodType periodType, org.joda.time.Chronology chronology)
It creates a Period
with the specified PeriodType
and Chronology
. The input received by the Function
must have size 2 and represents the start and end instants of the Period
periodType
- the PeriodType
to be created. It specifies which duration fields are to be usedchronology
- Chronology
to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<Integer>,org.joda.time.Period> integerFieldCollectionToPeriod()
It creates a Period either:
Collection
of Integer
representing the hours, minutes, seconds and millisecondsCollection
of Integer
representing the years, months, weeks, days, hours, minutes, seconds and milliseconds
Period
created from the inputpublic static final org.op4j.functions.Function<Collection<Integer>,org.joda.time.Period> integerFieldCollectionToPeriod(org.joda.time.PeriodType periodType)
It creates a Period with the specified PeriodType
either:
Collection
of Integer
representing the hours, minutes, seconds and millisecondsCollection
of Integer
representing the years, months, weeks, days, hours, minutes, seconds and milliseconds
periodType
- the PeriodType
to be created. It specifies which duration fields are to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Integer[],org.joda.time.Period> integerFieldArrayToPeriod()
It creates a Period either:
Period
created from the inputpublic static final org.op4j.functions.Function<Integer[],org.joda.time.Period> integerFieldArrayToPeriod(org.joda.time.PeriodType periodType)
It creates a Period with the specified PeriodType
either:
periodType
- the PeriodType
to be created. It specifies which duration fields are to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<Collection<String>,org.joda.time.Period> strFieldCollectionToPeriod()
A Period is created either:
Collection
of String
representing the hours, minutes, seconds and millisecondsCollection
of String
representing the years, months, weeks, days, hours, minutes, seconds and milliseconds
Period
created from the inputpublic static final org.op4j.functions.Function<Collection<String>,org.joda.time.Period> strFieldCollectionToPeriod(org.joda.time.PeriodType periodType)
A Period is created with the specified PeriodType
either:
Collection
of String
representing the hours, minutes, seconds and millisecondsCollection
of String
representing the years, months, weeks, days, hours, minutes, seconds and milliseconds
periodType
- the PeriodType
to be created. It specifies which duration fields are to be used
Period
created from the input and argumentspublic static final org.op4j.functions.Function<String[],org.joda.time.Period> strFieldArrayToPeriod()
A Period is created either:
Period
created from the inputpublic static final org.op4j.functions.Function<String[],org.joda.time.Period> strFieldArrayToPeriod(org.joda.time.PeriodType periodType)
A Period is created with the specified PeriodType
either:
periodType
- the PeriodType
to be created. It specifies which duration fields are to be used
Period
created from the input and arguments
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |