mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
@@ -31,7 +31,7 @@ import java.util.TimeZone;
|
|||||||
|
|
||||||
public class DateHelper
|
public class DateHelper
|
||||||
{
|
{
|
||||||
public static int millisecondsInOneDay = 24 * 60 * 60 * 1000;
|
public static long millisecondsInOneDay = 24 * 60 * 60 * 1000;
|
||||||
|
|
||||||
public static long getLocalTime()
|
public static long getLocalTime()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ public class ScoreList
|
|||||||
return lastScore;
|
return lastScore;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int[] getAllValues(Long fromTimestamp, Long toTimestamp, Integer divisor)
|
public int[] getAllValues(Long fromTimestamp, Long toTimestamp, Long divisor)
|
||||||
{
|
{
|
||||||
// Force rebuild of the score table
|
// Force rebuild of the score table
|
||||||
getNewestValue();
|
getNewestValue();
|
||||||
@@ -157,7 +157,7 @@ public class ScoreList
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public int[] getAllValues(int divisor)
|
public int[] getAllValues(long divisor)
|
||||||
{
|
{
|
||||||
Repetition oldestRep = habit.repetitions.getOldest();
|
Repetition oldestRep = habit.repetitions.getOldest();
|
||||||
if(oldestRep == null) return new int[0];
|
if(oldestRep == null) return new int[0];
|
||||||
|
|||||||
Reference in New Issue
Block a user