public static class TemporalRange.Builder extends Object
app.pickmaven.businessdays.TemporalRange objects.| Constructor and Description |
|---|
Builder()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static TemporalRange.Builder |
aTemporalRange()
Creates an instance of the
Builder |
TemporalRange |
build()
It returns the instance of
app.pickmaven.businessdays.TemporalRange object. |
TemporalRange.Builder |
from(java.time.LocalDate date)
Sets the starting date of
app.pickmaven.businessdays.TemporalRange from LocalDate object. |
TemporalRange.Builder |
from(String date,
String pattern)
Sets the starting date of
app.pickmaven.businessdays.TemporalRange from a String date and a String pattern. |
TemporalRange.Builder |
to(java.time.LocalDate date)
Sets the ending date of
app.pickmaven.businessdays.TemporalRange from LocalDate object. |
TemporalRange.Builder |
to(String date,
String pattern)
Sets the ending date of
app.pickmaven.businessdays.TemporalRange from a String date and a String pattern. |
public Builder()
app.pickmaven.businessdays.TemporalRange field.public static TemporalRange.Builder aTemporalRange()
Builderpublic TemporalRange.Builder from(java.time.LocalDate date)
app.pickmaven.businessdays.TemporalRange from LocalDate object.date - must not be nullpublic TemporalRange.Builder from(String date, String pattern)
app.pickmaven.businessdays.TemporalRange from a String date and a String pattern.date - must not be nullpattern - formatter pattern; pattern must not be nullpublic TemporalRange.Builder to(java.time.LocalDate date)
app.pickmaven.businessdays.TemporalRange from LocalDate object.date - must not be nullpublic TemporalRange.Builder to(String date, String pattern)
app.pickmaven.businessdays.TemporalRange from a String date and a String pattern.date - must not be nullpattern - formatter pattern; pattern must not be nullpublic TemporalRange build()
app.pickmaven.businessdays.TemporalRange object.Copyright © 2020. All rights reserved.