If you are experiencing an issue please mention the full platform your
issue applies to:
IDE: NetBeans/Eclipse/IDEA NetBeans 8.2
Desktop OS Windows 10
Simulator 3.7
Device Samsung SCH-1545 Android V 5.0.1
I have a requirement to provide a user to enter data in a MM/YY format.
Tried using Picker, however it is producing false results as I like it
opens a spinner dialog with 3 fields (3 char Month) Day of Month and 4
digit year.
prod_dateText = new Picker();
prod_dateText.setDate(inc.getDateObjectFromMMslashYY(prod_date));
SimpleDateFormat formatter1 = new SimpleDateFormat("MM/yy");
prod_dateText.setFormatter(formatter1);
When querying the Picker with prod_dateText.getDate()
It produced the expected date, however the resultingformat in the
prod_dateText field is something like 33/17 when 02/17 was set.
Thoughts?
--
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].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit
https://groups.google.com/d/msgid/codenameone-discussions/ee7608b3-e674-40d4-a53a-2dcd649af29a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.