-
- 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 = Date, defaultValue = <null>)@ConfigParam(name = max, type = Date, defaultValue = <null>)@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.DateConverter.class, configParams = format, locale, timeZone) public class RandomGenerator.RandomDateGenerator extends AbstractRandomGenerator<Date> implements ConfigurableRandomGenerator<Date>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classRandomGenerator.RandomDateGenerator.Default
-
Constructor Summary
Constructors Constructor Description RandomGenerator.RandomDateGenerator(Map<String, Object> configParams)
-
Method Summary
-
-
Method Detail
-
getConfigParams
final Map<String, Object> getConfigParams()
配置参数。
-
getTargetType
Class<Date> getTargetType()
目标类型。
-
configure
RandomGenerator.RandomDateGenerator configure(Map<String, Object> configParams)
根据指定的配置复制当前对象,返回一个新对象。
-
-
-
-