unused code

This commit is contained in:
Milos Kozak 2021-02-11 13:48:50 +01:00
parent c8dd373c37
commit 84a2c37055
2 changed files with 2 additions and 12 deletions

View file

@ -34,7 +34,7 @@
<FrameLayout <FrameLayout
android:id="@+id/frame_layout" android:id="@+id/frame_layout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"></FrameLayout> android:layout_height="wrap_content" />
</ScrollView> </ScrollView>

View file

@ -42,12 +42,10 @@ import info.nightscout.androidaps.utils.resources.ResourceHelper;
@Singleton @Singleton
public class DateUtil { public class DateUtil {
private final Context context; private final Context context;
private final ResourceHelper resourceHelper;
@Inject @Inject
public DateUtil(Context context, ResourceHelper resourceHelper) { public DateUtil(Context context) {
this.context = context; this.context = context;
this.resourceHelper = resourceHelper;
} }
/** /**
@ -193,10 +191,6 @@ public class DateUtil {
return new DateTime(mills).toString(DateTimeFormat.forPattern(format)); return new DateTime(mills).toString(DateTimeFormat.forPattern(format));
} }
public static String timeFullString(long mills) {
return new DateTime(mills).toString(DateTimeFormat.fullTime());
}
public String dateAndTimeString(Date date) { public String dateAndTimeString(Date date) {
return dateString(date) + " " + timeString(date); return dateString(date) + " " + timeString(date);
} }
@ -279,10 +273,6 @@ public class DateUtil {
return diff > T.mins(minutes).msecs(); return diff > T.mins(minutes).msecs();
} }
public static GregorianCalendar gregorianCalendar() {
return new GregorianCalendar();
}
public static long getTimeZoneOffsetMs() { public static long getTimeZoneOffsetMs() {
return new GregorianCalendar().getTimeZone().getRawOffset(); return new GregorianCalendar().getTimeZone().getRawOffset();
} }