public class NextMacroCalculation extends Object implements MacroCalculationStrategies
| Constructor and Description |
|---|
NextMacroCalculation() |
| Modifier and Type | Method and Description |
|---|---|
org.joda.time.DateTime |
getDateTime(org.joda.time.DateTime dateTime,
TimeGrain timeGrain)
Get the DateTime for the macro given the DateTime to base from and the timeGrain to determine how far to move.
|
public org.joda.time.DateTime getDateTime(org.joda.time.DateTime dateTime,
TimeGrain timeGrain)
MacroCalculationStrategiesgetDateTime in interface MacroCalculationStrategiesdateTime - Base instanttimeGrain - Grain to round toCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.