Interface RegulatoryRules
public interface RegulatoryRules
Interface for regulatory rules by zone. Handles things like caloric rounding
rules, etc...
- Version:
- 2024-07-21
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddRoundedResults(NutritionVolume results, RecipeNutritionData data) Populate aNutritionResultsfor the specified nutrition data at the volume specified in the results.
-
Method Details
-
addRoundedResults
Populate aNutritionResultsfor the specified nutrition data at the volume specified in the results. This should apply the type specific rounding rules for the region.- Parameters:
results- the results to addRoundedResultdata todata- the nutrition data to round
-