-
- All Implemented Interfaces:
-
icu.windea.breezeframework.core.component.Component,icu.windea.breezeframework.core.component.ConfigurableComponent,icu.windea.breezeframework.core.component.ConfigurableRandomGenerator,icu.windea.breezeframework.core.component.RandomGenerator,icu.windea.breezeframework.core.component.TypedComponent,icu.windea.breezeframework.core.model.Configurable
@ConfigParam(name = min, type = LocalDate)@ConfigParam(name = max, type = LocalDate)@ConfigParam(name = format, type = String, defaultValue = yyyy-MM-dd)@ConfigParam(name = locale, type = String | Locale, defaultValue = <default>)@ConfigParam(name = timeZone, type = String | TimeZone, defaultValue = <utc>)@ConfigParamsPassing(target = Converter.LocalDateConverter.class, configParams = format, locale, timeZone) public class RandomGenerator.RandomLocalDateGenerator extends AbstractRandomGenerator<LocalDate> implements ConfigurableRandomGenerator<LocalDate>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classRandomGenerator.RandomLocalDateGenerator.Default
-
Constructor Summary
Constructors Constructor Description RandomGenerator.RandomLocalDateGenerator(Map<String, Object> configParams)
-
Method Summary
Modifier and Type Method Description final LocalDategetMin()final LocalDategetMax()final Map<String, Object>getConfigParams()配置参数。 Class<LocalDate>getTargetType()目标类型。 RandomGenerator.RandomLocalDateGeneratorconfigure(Map<String, Object> configParams)根据指定的配置复制当前对象,返回一个新对象。 LocalDategenerate()生成随机值。 -
-
Method Detail
-
getConfigParams
final Map<String, Object> getConfigParams()
配置参数。
-
getTargetType
Class<LocalDate> getTargetType()
目标类型。
-
configure
RandomGenerator.RandomLocalDateGenerator configure(Map<String, Object> configParams)
根据指定的配置复制当前对象,返回一个新对象。
-
-
-
-