// Path: app/src/main/java/org/nutritionfacts/dailydozen/model/enums/HistoryType.java
// public abstract class HistoryType {
//     @Retention(RetentionPolicy.SOURCE)
//     public @interface Interface { }
// 
//     public static final int FoodServings = 0;
//     public static final int Tweaks = 1;
//     public static final int Weights = 2;
// }


import org.nutritionfacts.dailydozen.model.enums.HistoryType;
import org.nutritionfacts.dailydozen.model.enums.TimeScale;
package org.nutritionfacts.dailydozen.task.params;


public class LoadHistoryTaskParams {
    @HistoryType.Interface
    private final int historyType;

    @TimeScale.Interface
    private final int timeScale;

    private final int selectedYear;
    private final int selectedMonth;

    public LoadHistoryTaskParams(@HistoryType.Interface int historyType, @TimeScale.Interface int timeScale, int selectedYear, int selectedMonth) {
        this.historyType = historyType;
        this.timeScale = timeScale;
        this.selectedYear = selectedYear;
// Path: app/src/main/java/org/nutritionfacts/dailydozen/model/enums/HistoryType.java
// public abstract class HistoryType {
//     @Retention(RetentionPolicy.SOURCE)
//     public @interface Interface { }
// 
//     public static final int FoodServings = 0;
//     public static final int Tweaks = 1;
//     public static final int Weights = 2;
// }


// Path: app/src/main/java/org/nutritionfacts/dailydozen/task/params/LoadHistoryTaskParams.java
import org.nutritionfacts.dailydozen.model.enums.HistoryType;
import org.nutritionfacts.dailydozen.model.enums.TimeScale;

package org.nutritionfacts.dailydozen.task.params;


public class LoadHistoryTaskParams {
    @HistoryType.Interface
    private final int historyType;

    @TimeScale.Interface
    private final int timeScale;

    private final int selectedYear;
    private final int selectedMonth;

    public LoadHistoryTaskParams(@HistoryType.Interface int historyType, @TimeScale.Interface int timeScale, int selectedYear, int selectedMonth) {
        this.historyType = historyType;
        this.timeScale = timeScale;
        this.selectedYear = selectedYear;
        this.selectedMonth = selectedMonth;