>>>>> "MM" == Mark Murphy <[email protected]> writes:

   MM> On Sun, Apr 24, 2011 at 5:28 PM, Streets Of Boston
   MM> <[email protected]> wrote:

   >> "Per the docs, I should be able to get a time formatted as follows": Which
   >> docs says that 'p' and 'a' are valid values?
   >> 
   >> AM and PM are the official en-US locale strings for before noon and after
   >> noon.
   >> The 'p' and 'a' are not official locale strings for this.

   MM> Specifically, the docs state:

   MM> "Note that the count [of characters in a pattern] does not specify the
   MM> exact width of the field." Just because you have a single "a" does not
   MM> mean you get a one-character AM/PM designator.

A closer read of the documentation, and googling for a different version
of the same docs, make it clear that only AM/PM is supported.  I guess I
can use a higher level method that gives me the separate components and
just build the string myself.

-- 
Jake Colman -- Android Tinkerer

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to