You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
add more Java APIs needed for OctoDroid
This commit is contained in:
12
src/api-impl/android/text/format/DateUtils.java
Normal file
12
src/api-impl/android/text/format/DateUtils.java
Normal file
@@ -0,0 +1,12 @@
|
||||
package android.text.format;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
public class DateUtils {
|
||||
|
||||
public static CharSequence getRelativeTimeSpanString(Context context, long millis, boolean withPreposition) {
|
||||
return new Date(millis).toString();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user