summaryrefslogtreecommitdiffstats
path: root/luni
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2014-02-25 13:40:29 +0000
committerNarayan Kamath <narayan@google.com>2014-02-27 10:01:47 +0000
commit68d78caff1997dd870f0265c1c642288aee6e653 (patch)
treecfae4cce18c68598f869bc990c0b62c7feb3c888 /luni
parent25f9a3d57eeddd56d86f84c2bd27027b8e91d591 (diff)
downloadlibcore-68d78caff1997dd870f0265c1c642288aee6e653.zip
libcore-68d78caff1997dd870f0265c1c642288aee6e653.tar.gz
libcore-68d78caff1997dd870f0265c1c642288aee6e653.tar.bz2
Add a stub set24HourTimeFormat function for the framework.
ActivityThread will call through to DateFormat.set24HourTimeFormat during the app startup flow, or when the 24 hour setting changes. Change-Id: I2b6a10ff66d86e780779c46c1665f77cdef66305
Diffstat (limited to 'luni')
-rw-r--r--luni/src/main/java/java/text/DateFormat.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/luni/src/main/java/java/text/DateFormat.java b/luni/src/main/java/java/text/DateFormat.java
index 00a282e..049ddf98 100644
--- a/luni/src/main/java/java/text/DateFormat.java
+++ b/luni/src/main/java/java/text/DateFormat.java
@@ -457,6 +457,12 @@ public abstract class DateFormat extends Format {
}
/**
+ * @hide for internal use only.
+ */
+ public static final void set24HourTimePref(boolean is24Hour) {
+ }
+
+ /**
* Returns the {@code NumberFormat} used by this {@code DateFormat}.
*
* @return the {@code NumberFormat} used by this date format.