Hi,

In java you could have the following method:

public static Date ParseFecha(String fecha) { 
     SimpleDateFormat formato = new SimpleDateFormat("dd/MM/yyyy"); 
     Date fechaDate = null; 
     try { 
           fechaDate = formato.parse(fecha); 
      }   
           catch (ParseException ex) {
               System.out.println(ex); 
      } 
     return fechaDate; 
 }

How can I get this to work in CodenameOne?

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/aebfc0eb-d7bd-4750-9354-8aaf2ffd31ban%40googlegroups.com.

Reply via email to