Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data WhatIfRangeScenario = WhatIfRangeScenario' {}
- newWhatIfRangeScenario :: UTCTime -> UTCTime -> Double -> WhatIfRangeScenario
- whatIfRangeScenario_startDate :: Lens' WhatIfRangeScenario UTCTime
- whatIfRangeScenario_endDate :: Lens' WhatIfRangeScenario UTCTime
- whatIfRangeScenario_value :: Lens' WhatIfRangeScenario Double
Documentation
data WhatIfRangeScenario Source #
Provides the forecast to meet the target for a particular date range.
See: newWhatIfRangeScenario
smart constructor.
Instances
newWhatIfRangeScenario Source #
:: UTCTime | |
-> UTCTime | |
-> Double | |
-> WhatIfRangeScenario |
Create a value of WhatIfRangeScenario
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:startDate:WhatIfRangeScenario'
, whatIfRangeScenario_startDate
- The start date in the date range that you need the forecast results for.
$sel:endDate:WhatIfRangeScenario'
, whatIfRangeScenario_endDate
- The end date in the date range that you need the forecast results for.
$sel:value:WhatIfRangeScenario'
, whatIfRangeScenario_value
- The target value that you want to meet for the provided date range.
whatIfRangeScenario_startDate :: Lens' WhatIfRangeScenario UTCTime Source #
The start date in the date range that you need the forecast results for.
whatIfRangeScenario_endDate :: Lens' WhatIfRangeScenario UTCTime Source #
The end date in the date range that you need the forecast results for.
whatIfRangeScenario_value :: Lens' WhatIfRangeScenario Double Source #
The target value that you want to meet for the provided date range.