Date Stream
The DateStream
is a Stream
that provides date-related methods.
addMilliseconds()
Returns a DateStream
that adds milliseconds to the produced output.
Parameter | Type | Default | Description |
---|---|---|---|
|
| value |
subtractMilliseconds()
Returns a DateStream
that subtracts milliseconds from the produced output.
Parameter | Type | Default | Description |
---|---|---|---|
|
| value |
setMilliseconds()
Returns a DateStream
that sets the milliseconds of the produced output.
Parameter | Type | Default | Description |
---|---|---|---|
|
| value |
getMilliseconds()
Returns a NumberStream
with the milliseconds parts of the produced output.
addSeconds()
Returns a DateStream
that adds seconds to the produced output.
Parameter | Type | Default | Description |
---|---|---|---|
|
| value |
subtractSeconds()
Returns a DateStream
that subtracts seconds from the produced output.
Parameter | Type | Default | Description |
---|---|---|---|
|
| value |
setSeconds()
Returns a DateStream
that sets the seconds of the produced output.
Parameter | Type | Default | Description |
---|---|---|---|
|
| value |
getSeconds()
Returns a NumberStream
with the seconds parts of the produced output.
addHours()
Returns a DateStream
that adds hours to the produced output.
Parameter | Type | Default | Description |
---|---|---|---|
|
| value |
subtractHours()
Returns a DateStream
that subtracts hours from the produced output.
Parameter | Type | Default | Description |
---|---|---|---|
|
| value |
setHours()
Returns a DateStream
that sets the hours of the produced output.
Parameter | Type | Default | Description |
---|---|---|---|
|
| value |
getHours()
Returns a NumberStream
with the hours parts of the produced output.
addDays()
Returns a DateStream
that adds days to the produced output.
Parameter | Type | Default | Description |
---|---|---|---|
|
| value |
subtractDays()
Returns a DateStream
that subtracts days from the produced output.
Parameter | Type | Default | Description |
---|---|---|---|
|
| value |
setDaysOfMonth()
Returns a DateStream
that sets the days of month of the produced output.
Parameter | Type | Default | Description |
---|---|---|---|
|
| value |
setDaysOfWeek()
Returns a DateStream
that sets the days of week of the produced output.
Parameter | Type | Default | Description |
---|---|---|---|
|
| value |
getDaysOfMonth()
Returns a NumberStream
with the days of month parts of the produced output.
getDaysOfWeek()
Returns a NumberStream
with the days of week parts of the produced output.
addMonths()
Returns a DateStream
that adds months to the produced output.
Parameter | Type | Default | Description |
---|---|---|---|
|
| value |
subtractMonths()
Returns a DateStream
that subtracts months from the produced output.
Parameter | Type | Default | Description |
---|---|---|---|
|
| value |
setMonths()
Returns a DateStream
that sets the months of the produced output.
Parameter | Type | Default | Description |
---|---|---|---|
|
| value |
getMonths()
Returns a NumberStream
with the months parts of the produced output.
addYears()
Returns a DateStream
that adds years to the produced output.
Parameter | Type | Default | Description |
---|---|---|---|
|
| value |
subtractYears()
Returns a DateStream
that subtracts years from the produced output.
Parameter | Type | Default | Description |
---|---|---|---|
|
| value |
setYears()
Returns a DateStream
that sets the years of the produced output.
Parameter | Type | Default | Description |
---|---|---|---|
|
| value |
getYears()
Returns a NumberStream
with the years parts of the produced output.
Last updated