Constructor and Description |
---|
DateUtil() |
Modifier and Type | Method and Description |
---|---|
static Timestamp |
addDays(Timestamp date,
int days) |
static Timestamp |
addHours(Timestamp date,
int numOfHours) |
static String |
convertTo12HoursFormat(String twentyFourHourTime) |
static String |
convertTo24HoursFormat(String twelveHourTime) |
Date |
getDate(String dateString) |
void |
setSimpleDateFormat(SimpleDateFormat simpleDateFormat) |
public DateUtil()
public static String convertTo24HoursFormat(String twelveHourTime) throws ParseException
ParseException
public static String convertTo12HoursFormat(String twentyFourHourTime) throws ParseException
ParseException
public void setSimpleDateFormat(SimpleDateFormat simpleDateFormat)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.