Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Member
Posts: 1
Registered: ‎05-09-2012
My Device: Bold
My Carrier: 31651350403

J2ME

[ Edited ]

Hello,

 

how can toSOAPString() work when J2ME does not support SimpleDateFormat? Or did you use it with J2SE? Do you know of a workaround for J2ME? 

 

Thanks in advance

Developer
Posts: 16,987
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: J2ME

welcome to the support forums.

if you use pure j2me you'll have to facilitate Calendar to do date formatting.
for examples look it up, like
http://stackoverflow.com/questions/1113890/java-working-with-date-time-in-j2me
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Highlighted
Developer
Posts: 1,807
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.3.2.858, Z10 (STL100-3)-10.3.1.2576, Z30 (STA100-5)-10.3.1.2582, Passport (SQW100-1)-10.3.1.2576, PlayBook (16GB)-2.1.0.1917
My Carrier: Verizon

Re: J2ME

The SimpleDateFormat that I used was RIM's version (net.rim.device.api.i18n.SimpleDateFormat).

 

*Saw link from:http://supportforums.blackberry.com/t5/Java-Development/JAX-RPC-Webservice-and-the-all-elusive-dateT...

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.