package com.gaiagps.iburn;

import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;

/**
 * Created by davidbrodsky on 7/8/15.
 */
public class CurrentDateProvider {

    /**
     * Date to use as "now" for Debug builds
     */
    public static Date MOCK_NOW_DATE = new GregorianCalendar(2016, Calendar.SEPTEMBER, 4, 15, 43).getTime();

    public static Date getCurrentDate() {
        return BuildConfig.MOCK ? MOCK_NOW_DATE : new Date();
    }

    public static long getCurrentTimeMillis() {
        return BuildConfig.MOCK ? MOCK_NOW_DATE.getTime() : new Date().getTime();
    }
}

@@ -319,9 +319,9 @@
 (201
-6
+7
 , Ca
@@ -331,20 +331,18 @@
 dar.
-SEPTEMBER, 4
+AUGUST, 28
 , 15

Update mock date