// month = 1 to 12 static long timestampFromYMDHM(int y, int m, int d, int h, int minutes) { ret new GregorianCalendar(y, m-1, d, h, minutes).getTimeInMillis(); }