unused code
This commit is contained in:
parent
c8dd373c37
commit
84a2c37055
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue