public class AcalCommonUtils extends Object
Constructor and Description |
---|
AcalCommonUtils() |
Modifier and Type | Method and Description |
---|---|
static RichTextInfo |
buildDesc(String descr) |
static AttributeInfo |
createAttribute(String key,
String value) |
static boolean |
doDatesOverlap(Date periodStartDate,
Date periodEndDate,
Date subStart,
Date subEnd)
Allows you to see if a date range overlaps another date range.
|
static String |
formatDate(Date date) |
static String |
getAdminOrgNameById(String id) |
static Date |
getDateWithTime(Date date,
String hourMinute,
String amPm) |
static boolean |
isDateWithinRange(Date startDate,
Date endDate,
Date checkDate) |
static boolean |
isValidDateRange(Date startDate,
Date endDate) |
static void |
logDebugMsg(Logger logger,
String message) |
public AcalCommonUtils()
public static boolean isValidDateRange(Date startDate, Date endDate)
public static String formatDate(Date date)
public static boolean isDateWithinRange(Date startDate, Date endDate, Date checkDate)
public static boolean doDatesOverlap(Date periodStartDate, Date periodEndDate, Date subStart, Date subEnd)
periodStartDate
- periodEndDate
- subStart
- subEnd
- public static RichTextInfo buildDesc(String descr)
public static Date getDateWithTime(Date date, String hourMinute, String amPm)
public static String getAdminOrgNameById(String id)
public static void logDebugMsg(Logger logger, String message)
public static AttributeInfo createAttribute(String key, String value)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.