Example #1
0
 public static int uniqueValue() {
   int time = (int) (Jimm.getCurrentGmtTime() & 0x7FFF);
   return (time << 16) | (rand.nextInt() & 0xFFFF);
 }
Example #2
0
 /* Creates current date (local) */
 public static long createCurrentLocalTime() {
   return gmtTimeToLocalTime(Jimm.getCurrentGmtTime());
 }