public class LocalDateTimeProp extends PropertyBase<LocalDateTime>
LocalDateTime configuration Property
Parsing values from strings is done by the LocalDateTimeType, which parses values using
the LocalDateTime.parse(CharSequence) method, so the format
follows that specification, which looks like this:
2007-12-03T00:002007-12-03T23:15:302007-12-03T23:15:30.1232007-12-03T23:15:30.123456789
Before parsing String values, the TrimToNullTrimmer is applied by default.
| Modifier and Type | Class and Description |
|---|---|
static class |
LocalDateTimeProp.LocalDateTimeBuilder |
| Constructor and Description |
|---|
LocalDateTimeProp(LocalDateTime defaultValue,
boolean required,
String shortDesc,
List<Validator<LocalDateTime>> validators,
List<Name> aliases,
PropertyType paramType,
ValueType<LocalDateTime> valueType,
Trimmer trimmer,
String helpText) |
| Modifier and Type | Method and Description |
|---|---|
static LocalDateTimeProp.LocalDateTimeBuilder |
builder()
A chainable builder for this property that should terminate with
build() |
getDefaultValue, getDescription, getExplicitValue, getHelpText, getPropertyType, getRequestedAliases, getTrimmer, getValidators, getValue, getValueType, isNonNullRequiredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCanonicalName, getInAliases, getOutAliases, getValueAsString, isExplicitlySetpublic LocalDateTimeProp(LocalDateTime defaultValue, boolean required, String shortDesc, List<Validator<LocalDateTime>> validators, List<Name> aliases, PropertyType paramType, ValueType<LocalDateTime> valueType, Trimmer trimmer, String helpText)
public static LocalDateTimeProp.LocalDateTimeBuilder builder()
build()
Use as LocalDateTimeProp.builder()...series of builder methods...build();
Copyright © 2022. All rights reserved.