| com.flexive.shared.value.FxDate
FxDate | public class FxDate extends FxValue implements Serializable(Code) | | A multilingual Date, internally represented as java.util.Date; EMPTY is a Date with a timestamp of 0 (usually 01/01/1970)
author: Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) |
Constructor Summary | |
public | FxDate(boolean multiLanguage, long defaultLanguage, Map<Long, Date> translations) | public | FxDate(long defaultLanguage, Map<Long, Date> translations) | public | FxDate(boolean multiLanguage, Map<Long, Date> translations) | public | FxDate(Map<Long, Date> translations) | public | FxDate(Map<Long, Date[]> translations, int pos) | public | FxDate(boolean multiLanguage, long defaultLanguage, Date value) | public | FxDate(long defaultLanguage, Date value) | public | FxDate(boolean multiLanguage, Date value) | public | FxDate(Date value) | public | FxDate(FxValue<Date, FxDate> clone) |
FxDate | public FxDate(boolean multiLanguage, long defaultLanguage, Map<Long, Date> translations)(Code) | | Constructor
Parameters: multiLanguage - multilanguage value? Parameters: defaultLanguage - the default language Parameters: translations - HashMap containing language->translation mapping |
FxDate | public FxDate(long defaultLanguage, Map<Long, Date> translations)(Code) | | Constructor
Parameters: defaultLanguage - the default language Parameters: translations - HashMap containing language->translation mapping |
FxDate | public FxDate(boolean multiLanguage, Map<Long, Date> translations)(Code) | | Constructor
Parameters: multiLanguage - multilanguage value? Parameters: translations - HashMap containing language->translation mapping |
FxDate | public FxDate(Map<Long, Date> translations)(Code) | | Constructor
Parameters: translations - HashMap containing language->translation mapping |
FxDate | public FxDate(Map<Long, Date[]> translations, int pos)(Code) | | Constructor - create value from an array of translations
Parameters: translations - HashMap containing language->translation mapping Parameters: pos - position (index) in the array to use |
FxDate | public FxDate(boolean multiLanguage, long defaultLanguage, Date value)(Code) | | Constructor
Parameters: multiLanguage - multilanguage value? Parameters: defaultLanguage - the default language Parameters: value - single initializing value |
FxDate | public FxDate(long defaultLanguage, Date value)(Code) | | Constructor
Parameters: defaultLanguage - the default language Parameters: value - single initializing value |
FxDate | public FxDate(boolean multiLanguage, Date value)(Code) | | Constructor
Parameters: multiLanguage - multilanguage value? Parameters: value - single initializing value |
FxDate | public FxDate(Date value)(Code) | | Constructor
Parameters: value - single initializing value |
FxDate | public FxDate(FxValue<Date, FxDate> clone)(Code) | | Constructor
Parameters: clone - original FxValue to be cloned |
copy | public FxDate copy()(Code) | | Creates a copy of the given object (useful if the actual type is unknown).
a copy of the given object (useful if the actual type is unknown). |
fromString | public Date fromString(String value)(Code) | | Evaluates the given string value to an object of type T.
Parameters: value - string value to be evaluated the value interpreted as T |
isImmutableValueType | public boolean isImmutableValueType()(Code) | | Return true if T is immutable (e.g. java.lang.String). This prevents cloning
of the translations in copy constructors.
true if T is immutable (e.g. java.lang.String) |
|
|