public static void main(String args[]) { try { // TODO make this a unit test Time time = new Time("America/Los_Angeles"); Date referenceDate = parse("11-23-2013 23:55:00"); int secondsIntoDay = 24 * SEC_PER_HOUR - 60; long epochTime = time.getEpochTime(secondsIntoDay, referenceDate); System.out.println(new Date(epochTime)); } catch (ParseException e) { } }