unused code
This commit is contained in:
parent
c8dd373c37
commit
84a2c37055
|
@ -34,7 +34,7 @@
|
|||
<FrameLayout
|
||||
android:id="@+id/frame_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"></FrameLayout>
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</ScrollView>
|
||||
|
||||
|
|
|
@ -42,12 +42,10 @@ import info.nightscout.androidaps.utils.resources.ResourceHelper;
|
|||
@Singleton
|
||||
public class DateUtil {
|
||||
private final Context context;
|
||||
private final ResourceHelper resourceHelper;
|
||||
|
||||
@Inject
|
||||
public DateUtil(Context context, ResourceHelper resourceHelper) {
|
||||
public DateUtil(Context context) {
|
||||
this.context = context;
|
||||
this.resourceHelper = resourceHelper;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -193,10 +191,6 @@ public class DateUtil {
|
|||
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) {
|
||||
return dateString(date) + " " + timeString(date);
|
||||
}
|
||||
|
@ -279,10 +273,6 @@ public class DateUtil {
|
|||
return diff > T.mins(minutes).msecs();
|
||||
}
|
||||
|
||||
public static GregorianCalendar gregorianCalendar() {
|
||||
return new GregorianCalendar();
|
||||
}
|
||||
|
||||
public static long getTimeZoneOffsetMs() {
|
||||
return new GregorianCalendar().getTimeZone().getRawOffset();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue