org.op4j.jodatime.functions
Class FnToLocalDate

java.lang.Object
  extended by org.op4j.jodatime.functions.FnToLocalDate

Deprecated. use FnLocalDate instead. This class will be removed in version 1.2

@Deprecated
public final class FnToLocalDate
extends java.lang.Object

Since:
1.0
Author:
Soraya Sánchez Labandeira

Method Summary
static
<T extends java.util.Calendar>
org.op4j.functions.Function<T,org.joda.time.LocalDate>
fromCalendar()
          Deprecated.  It converts a Calendar into a LocalDate
static
<T extends java.util.Calendar>
org.op4j.functions.Function<T,org.joda.time.LocalDate>
fromCalendar(org.joda.time.Chronology chronology)
          Deprecated.  It converts a Calendar into a LocalDate with the given Chronology
static
<T extends java.util.Calendar>
org.op4j.functions.Function<T,org.joda.time.LocalDate>
fromCalendar(org.joda.time.DateTimeZone dateTimeZone)
          Deprecated.  It converts a Calendar into a LocalDate in the given DateTimeZone
static
<T extends java.util.Date>
org.op4j.functions.Function<T,org.joda.time.LocalDate>
fromDate()
          Deprecated.  The input Date is converted into a LocalDate
static
<T extends java.util.Date>
org.op4j.functions.Function<T,org.joda.time.LocalDate>
fromDate(org.joda.time.Chronology chronology)
          Deprecated.  The input Date is converted into a LocalDate with the given Chronology
static
<T extends java.util.Date>
org.op4j.functions.Function<T,org.joda.time.LocalDate>
fromDate(org.joda.time.DateTimeZone dateTimeZone)
          Deprecated.  The input Date is converted into a LocalDate configured with the given DateTimeZone
static org.op4j.functions.Function<java.lang.Integer[],org.joda.time.LocalDate> fromIntegerFieldArray()
          Deprecated.  A LocalDate is created from the given integer array.
static org.op4j.functions.Function<java.lang.Integer[],org.joda.time.LocalDate> fromIntegerFieldArray(org.joda.time.Chronology chronology)
          Deprecated.  A LocalDate is created from the given integer array.
static org.op4j.functions.Function<java.util.Collection<java.lang.Integer>,org.joda.time.LocalDate> fromIntegerFieldCollection()
          Deprecated.  A LocalDate is created from the given Integer Collection.
static org.op4j.functions.Function<java.util.Collection<java.lang.Integer>,org.joda.time.LocalDate> fromIntegerFieldCollection(org.joda.time.Chronology chronology)
          Deprecated.  A LocalDate is created from the given Integer Collection.
static org.op4j.functions.Function<java.lang.Long,org.joda.time.LocalDate> fromLong()
          Deprecated.  The input Long representing the time in milliseconds is converted into a LocalDate
static org.op4j.functions.Function<java.lang.Long,org.joda.time.LocalDate> fromLong(org.joda.time.Chronology chronology)
          Deprecated.  The input Long representing the time in milliseconds is converted into a LocalDate with the given Chronology
static org.op4j.functions.Function<java.lang.Long,org.joda.time.LocalDate> fromLong(org.joda.time.DateTimeZone dateTimeZone)
          Deprecated.  The input Long representing the time in milliseconds is converted into a LocalDate in the given DateTimeZone
static org.op4j.functions.Function<java.lang.String,org.joda.time.LocalDate> fromString(java.lang.String pattern)
          Deprecated.  It converts the given String into a LocalDate using the given pattern parameter.
static org.op4j.functions.Function<java.lang.String,org.joda.time.LocalDate> fromString(java.lang.String pattern, org.joda.time.Chronology chronology)
          Deprecated.  It converts the input String into a LocalDate using the given pattern parameter and with the given Chronology.
static org.op4j.functions.Function<java.lang.String,org.joda.time.LocalDate> fromString(java.lang.String pattern, org.joda.time.DateTimeZone dateTimeZone)
          Deprecated.  It converts the input String into a LocalDate using the given pattern parameter and with the given DateTimeZone.
static org.op4j.functions.Function<java.lang.String,org.joda.time.LocalDate> fromString(java.lang.String pattern, java.util.Locale locale)
          Deprecated.  It converts the input String into a LocalDate using the given pattern and Locale parameters
static org.op4j.functions.Function<java.lang.String,org.joda.time.LocalDate> fromString(java.lang.String pattern, java.util.Locale locale, org.joda.time.Chronology chronology)
          Deprecated.  It converts the input String into a LocalDate using the given pattern and Locale parameters.
static org.op4j.functions.Function<java.lang.String,org.joda.time.LocalDate> fromString(java.lang.String pattern, java.util.Locale locale, org.joda.time.DateTimeZone dateTimeZone)
          Deprecated.  It converts the input String into a LocalDate using the given pattern and Locale parameters.
static org.op4j.functions.Function<java.lang.String,org.joda.time.LocalDate> fromString(java.lang.String pattern, java.lang.String locale)
          Deprecated.  It converts the input String into a LocalDate using the given pattern and Locale parameters
static org.op4j.functions.Function<java.lang.String,org.joda.time.LocalDate> fromString(java.lang.String pattern, java.lang.String locale, org.joda.time.Chronology chronology)
          Deprecated.  It converts the input String into a LocalDate using the given pattern and Locale parameters.
static org.op4j.functions.Function<java.lang.String,org.joda.time.LocalDate> fromString(java.lang.String pattern, java.lang.String locale, org.joda.time.DateTimeZone dateTimeZone)
          Deprecated.  It converts the input String into a LocalDate using the given pattern and Locale parameters.
static org.op4j.functions.Function<java.lang.String[],org.joda.time.LocalDate> fromStringFieldArray()
          Deprecated.  A LocalDate is created from the given string array.
static org.op4j.functions.Function<java.lang.String[],org.joda.time.LocalDate> fromStringFieldArray(org.joda.time.Chronology chronology)
          Deprecated.  A LocalDate is created from the given string array.
static org.op4j.functions.Function<java.util.Collection<java.lang.String>,org.joda.time.LocalDate> fromStringFieldCollection()
          Deprecated.  A LocalDate is created from the given String Collection.
static org.op4j.functions.Function<java.util.Collection<java.lang.String>,org.joda.time.LocalDate> fromStringFieldCollection(org.joda.time.Chronology chronology)
          Deprecated.  A LocalDate is created from the input String Collection.
static org.op4j.functions.Function<java.sql.Timestamp,org.joda.time.LocalDate> fromTimestamp()
          Deprecated.  The input Timestamp is converted into a LocalDate
static org.op4j.functions.Function<java.sql.Timestamp,org.joda.time.LocalDate> fromTimestamp(org.joda.time.Chronology chronology)
          Deprecated.  The input Timestamp is converted into a LocalDate with the given Chronology
static org.op4j.functions.Function<java.sql.Timestamp,org.joda.time.LocalDate> fromTimestamp(org.joda.time.DateTimeZone dateTimeZone)
          Deprecated.  The input Timestamp is converted into a LocalDate in the given DateTimeZone
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

fromString

public static final org.op4j.functions.Function<java.lang.String,org.joda.time.LocalDate> fromString(java.lang.String pattern)
Deprecated. 

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

fromString

public static final org.op4j.functions.Function<java.lang.String,org.joda.time.LocalDate> fromString(java.lang.String pattern,
                                                                                                     org.joda.time.DateTimeZone dateTimeZone)
Deprecated. 

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

fromString

public static final org.op4j.functions.Function<java.lang.String,org.joda.time.LocalDate> fromString(java.lang.String pattern,
                                                                                                     org.joda.time.Chronology chronology)
Deprecated. 

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

fromString

public static final org.op4j.functions.Function<java.lang.String,org.joda.time.LocalDate> fromString(java.lang.String pattern,
                                                                                                     java.util.Locale locale)
Deprecated. 

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

fromString

public static final org.op4j.functions.Function<java.lang.String,org.joda.time.LocalDate> fromString(java.lang.String pattern,
                                                                                                     java.lang.String locale)
Deprecated. 

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

fromString

public static final org.op4j.functions.Function<java.lang.String,org.joda.time.LocalDate> fromString(java.lang.String pattern,
                                                                                                     java.util.Locale locale,
                                                                                                     org.joda.time.DateTimeZone dateTimeZone)
Deprecated. 

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

fromString

public static final org.op4j.functions.Function<java.lang.String,org.joda.time.LocalDate> fromString(java.lang.String pattern,
                                                                                                     java.lang.String locale,
                                                                                                     org.joda.time.DateTimeZone dateTimeZone)
Deprecated. 

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

fromString

public static final org.op4j.functions.Function<java.lang.String,org.joda.time.LocalDate> fromString(java.lang.String pattern,
                                                                                                     java.util.Locale locale,
                                                                                                     org.joda.time.Chronology chronology)
Deprecated. 

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

fromString

public static final org.op4j.functions.Function<java.lang.String,org.joda.time.LocalDate> fromString(java.lang.String pattern,
                                                                                                     java.lang.String locale,
                                                                                                     org.joda.time.Chronology chronology)
Deprecated. 

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

fromDate

public static final <T extends java.util.Date> org.op4j.functions.Function<T,org.joda.time.LocalDate> fromDate()
Deprecated. 

The input Date is converted into a LocalDate

Returns:
the LocalDate created from the input

fromDate

public static final <T extends java.util.Date> org.op4j.functions.Function<T,org.joda.time.LocalDate> fromDate(org.joda.time.DateTimeZone dateTimeZone)
Deprecated. 

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

fromDate

public static final <T extends java.util.Date> org.op4j.functions.Function<T,org.joda.time.LocalDate> fromDate(org.joda.time.Chronology chronology)
Deprecated. 

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

fromTimestamp

public static final org.op4j.functions.Function<java.sql.Timestamp,org.joda.time.LocalDate> fromTimestamp()
Deprecated. 

The input Timestamp is converted into a LocalDate

Returns:
the LocalDate created from the input

fromTimestamp

public static final org.op4j.functions.Function<java.sql.Timestamp,org.joda.time.LocalDate> fromTimestamp(org.joda.time.DateTimeZone dateTimeZone)
Deprecated. 

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

fromTimestamp

public static final org.op4j.functions.Function<java.sql.Timestamp,org.joda.time.LocalDate> fromTimestamp(org.joda.time.Chronology chronology)
Deprecated. 

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

fromLong

public static final org.op4j.functions.Function<java.lang.Long,org.joda.time.LocalDate> fromLong()
Deprecated. 

The input Long representing the time in milliseconds is converted into a LocalDate

Returns:
the LocalDate created from the input

fromLong

public static final org.op4j.functions.Function<java.lang.Long,org.joda.time.LocalDate> fromLong(org.joda.time.DateTimeZone dateTimeZone)
Deprecated. 

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

fromLong

public static final org.op4j.functions.Function<java.lang.Long,org.joda.time.LocalDate> fromLong(org.joda.time.Chronology chronology)
Deprecated. 

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

fromIntegerFieldCollection

public static final org.op4j.functions.Function<java.util.Collection<java.lang.Integer>,org.joda.time.LocalDate> fromIntegerFieldCollection()
Deprecated. 

A LocalDate is created from the given Integer Collection.

The valid input Collection<Integer> are:

Returns:
the LocalDate created from the input

fromIntegerFieldCollection

public static final org.op4j.functions.Function<java.util.Collection<java.lang.Integer>,org.joda.time.LocalDate> fromIntegerFieldCollection(org.joda.time.Chronology chronology)
Deprecated. 

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

fromIntegerFieldArray

public static final org.op4j.functions.Function<java.lang.Integer[],org.joda.time.LocalDate> fromIntegerFieldArray()
Deprecated. 

A LocalDate is created from the given integer array.

The valid input Integer[] are:

Returns:
the LocalDate created from the input

fromIntegerFieldArray

public static final org.op4j.functions.Function<java.lang.Integer[],org.joda.time.LocalDate> fromIntegerFieldArray(org.joda.time.Chronology chronology)
Deprecated. 

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

fromStringFieldCollection

public static final org.op4j.functions.Function<java.util.Collection<java.lang.String>,org.joda.time.LocalDate> fromStringFieldCollection()
Deprecated. 

A LocalDate is created from the given String Collection.

The valid input Collection<String> are:

Returns:
the LocalDate created from the input

fromStringFieldCollection

public static final org.op4j.functions.Function<java.util.Collection<java.lang.String>,org.joda.time.LocalDate> fromStringFieldCollection(org.joda.time.Chronology chronology)
Deprecated. 

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

fromStringFieldArray

public static final org.op4j.functions.Function<java.lang.String[],org.joda.time.LocalDate> fromStringFieldArray()
Deprecated. 

A LocalDate is created from the given string array.

The valid input String[] are:

Returns:
the LocalDate created from the input

fromStringFieldArray

public static final org.op4j.functions.Function<java.lang.String[],org.joda.time.LocalDate> fromStringFieldArray(org.joda.time.Chronology chronology)
Deprecated. 

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

fromCalendar

public static final <T extends java.util.Calendar> org.op4j.functions.Function<T,org.joda.time.LocalDate> fromCalendar()
Deprecated. 

It converts a Calendar into a LocalDate

Returns:
the LocalDate created from the input

fromCalendar

public static final <T extends java.util.Calendar> org.op4j.functions.Function<T,org.joda.time.LocalDate> fromCalendar(org.joda.time.DateTimeZone dateTimeZone)
Deprecated. 

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

fromCalendar

public static final <T extends java.util.Calendar> org.op4j.functions.Function<T,org.joda.time.LocalDate> fromCalendar(org.joda.time.Chronology chronology)
Deprecated. 

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


Copyright © 2010 The OP4J team. All Rights Reserved.