| com.flexive.shared.value.FxDateTimeRange
FxDateTimeRange | public class FxDateTimeRange extends FxValue implements Serializable(Code) | | A multilingual DateTime range, internally represented as java.util.Date; EMPTY is a Date range 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 | FxDateTimeRange(boolean multiLanguage, long defaultLanguage, Map<Long, DateRange> translations) | public | FxDateTimeRange(long defaultLanguage, Map<Long, DateRange> translations) | public | FxDateTimeRange(boolean multiLanguage, Map<Long, DateRange> translations) | public | FxDateTimeRange(Map<Long, DateRange> translations) | public | FxDateTimeRange(Map<Long, DateRange[]> translations, int pos) | public | FxDateTimeRange(boolean multiLanguage, long defaultLanguage, DateRange value) | public | FxDateTimeRange(long defaultLanguage, DateRange value) | public | FxDateTimeRange(boolean multiLanguage, DateRange value) | public | FxDateTimeRange(DateRange value) | public | FxDateTimeRange(FxValue<DateRange, FxDateTimeRange> clone) |
FxDateTimeRange | public FxDateTimeRange(boolean multiLanguage, long defaultLanguage, Map<Long, DateRange> translations)(Code) | | Constructor
Parameters: multiLanguage - multilanguage value? Parameters: defaultLanguage - the default language Parameters: translations - HashMap containing language->translation mapping |
FxDateTimeRange | public FxDateTimeRange(long defaultLanguage, Map<Long, DateRange> translations)(Code) | | Constructor
Parameters: defaultLanguage - the default language Parameters: translations - HashMap containing language->translation mapping |
FxDateTimeRange | public FxDateTimeRange(boolean multiLanguage, Map<Long, DateRange> translations)(Code) | | Constructor
Parameters: multiLanguage - multilanguage value? Parameters: translations - HashMap containing language->translation mapping |
FxDateTimeRange | public FxDateTimeRange(Map<Long, DateRange> translations)(Code) | | Constructor
Parameters: translations - HashMap containing language->translation mapping |
FxDateTimeRange | public FxDateTimeRange(Map<Long, DateRange[]> 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 |
FxDateTimeRange | public FxDateTimeRange(boolean multiLanguage, long defaultLanguage, DateRange value)(Code) | | Constructor
Parameters: multiLanguage - multilanguage value? Parameters: defaultLanguage - the default language Parameters: value - single initializing value |
FxDateTimeRange | public FxDateTimeRange(long defaultLanguage, DateRange value)(Code) | | Constructor
Parameters: defaultLanguage - the default language Parameters: value - single initializing value |
FxDateTimeRange | public FxDateTimeRange(boolean multiLanguage, DateRange value)(Code) | | Constructor
Parameters: multiLanguage - multilanguage value? Parameters: value - single initializing value |
FxDateTimeRange | public FxDateTimeRange(DateRange value)(Code) | | Constructor
Parameters: value - single initializing value |
copy | public FxDateTimeRange 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 DateRange 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) |
|
|