-
- All Implemented Interfaces:
-
icu.windea.breezeframework.core.component.Component,icu.windea.breezeframework.core.component.Generator,icu.windea.breezeframework.core.component.RandomGenerator
@ComponentParam(name = "min", type = "LocalTime")@ComponentParam(name = "max", type = "LocalTime")@ComponentParam(name = "format", type = "String", defaultValue = "yyyy-MM-dd")@ComponentParam(name = "locale", type = "String | Locale", defaultValue = "<default>")@ComponentParam(name = "timeZone", type = "String | TimeZone", defaultValue = "<utc>") public class RandomGenerators.RandomLocalTimeGenerator extends AbstractRandomGenerator<LocalTime>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classRandomGenerators.RandomLocalTimeGenerator.Default
-
Field Summary
Fields Modifier and Type Field Description private final LocalTimeminprivate final LocalTimemaxprivate final Map<String, Object>componentParamsprivate final Class<LocalTime>targetTypeprivate final StringcomponentId
-
Constructor Summary
Constructors Constructor Description RandomGenerators.RandomLocalTimeGenerator(Map<String, Object> componentParams)
-
Method Summary
Modifier and Type Method Description final LocalTimegetMin()final LocalTimegetMax()final Map<String, Object>getComponentParams()组件参数。组件参数默认会向下传递。Component parameters. Class<LocalTime>getTargetType()目标类型。 StringgetComponentId()RandomGenerators.RandomLocalTimeGeneratorcomponentCopy(Map<String, Object> componentParams)LocalTimegenerate()生成随机值。 -
Methods inherited from class icu.windea.breezeframework.core.component.RandomGenerators.RandomLocalTimeGenerator
equals, hashCode, toString -
Methods inherited from class icu.windea.breezeframework.core.component.Generator
componentEquals, componentHashcode, componentToString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getComponentParams
final Map<String, Object> getComponentParams()
组件参数。组件参数默认会向下传递。
Component parameters. By default, component parameters will pass down.
-
getTargetType
Class<LocalTime> getTargetType()
目标类型。
-
getComponentId
String getComponentId()
-
componentCopy
RandomGenerators.RandomLocalTimeGenerator componentCopy(Map<String, Object> componentParams)
-
-
-
-