A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java Micro Edition
Alternative for formatting dates
Joined: Jan 07, 2009
May 16, 2009 05:14:22
Is their any alternative for java.text.SimpleDateFormat in J2ME?
I want to print date in this format : MMddHHmmss
Thanks in advance.
Joined: Jun 25, 2001
May 18, 2009 05:28:28
I'd have to go read the J2ME JavaDocs to be sure. But in the standard
, SimpleDateFormat subclasses DateFormat, and DateFormat allows user-defined date/time
Customer surveys are for companies who didn't pay proper attention to begin with.
Joined: Sep 29, 2006
May 28, 2009 23:02:44
I think you can use Calender class and do this.
You will have to implement your own methods to do this anyway...
SCJP 1.4, SCMAD 1.0, SCWCD 5.0
I agree. Here's the link:
subject: Alternative for formatting dates
Servicing *all* requests
input file element
Printing a PDF on client side
Strip JMS Headers from TextMessage
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014