public static class RandomDateFormatEntry.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RandomDateFormatEntry |
build() |
RandomDateFormatEntry.Builder |
copy(RandomDateFormatEntry model) |
RandomDateFormatEntry.Builder |
description(String description) |
RandomDateFormatEntry.Builder |
endDate(Date endDate)
The upper bound of the range within which random dates should be generated.
|
RandomDateFormatEntry.Builder |
startDate(Date startDate)
The lower bound of the range within which random dates should be generated.
|
public RandomDateFormatEntry.Builder description(String description)
public RandomDateFormatEntry.Builder startDate(Date startDate)
The lower bound of the range within which random dates should be generated. The start date must be less than or equal to the end date.
startDate
- the value to setpublic RandomDateFormatEntry.Builder endDate(Date endDate)
The upper bound of the range within which random dates should be generated. The end date must be greater than or equal to the start date.
endDate
- the value to setpublic RandomDateFormatEntry build()
public RandomDateFormatEntry.Builder copy(RandomDateFormatEntry model)
Copyright © 2016–2024. All rights reserved.