IDE: NetBeans/Eclipse/IDEA
Desktop OS
Simulator 
Device

In the following, why are getDSTSavings() and DST_OFFSET undefined?

        Calendar now = Calendar.getInstance();   
        int daylightsavings1 = now.getTimeZone().getDSTSavings();
        int daylightsavings2 = now.get(Calendar.DST_OFFSET);

-- 
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/7bdf7180-7646-4f50-9d24-9cc23ccb577e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to