Unfortunately the example code you gave me  gives a value that changes 
every time.
I have changed it to use the following as the value calculated in Java 
seems to be a constant and gives me the value below.
*  private final long BASE_TIME = 1265004000000L;*


On Thursday, September 17, 2020 at 6:31:26 PM UTC-5, Andrew Cameron wrote:
>
> I am trying to use some existing code with Codename one.
>
> I need to be able to duplicate the following 
>
> *private final long BASE_TIME = new GregorianCalendar(2010, 1, 
> 1).getTimeInMillis();*
>
> How must I define BASE_TIME in a Codename One App  so that it will 
> function the same as the code above?
>
>

-- 
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/1dfaad08-be3b-4fa6-862a-820995fbda69o%40googlegroups.com.

Reply via email to