de.jaret.util.date
Class DateUtils
java.lang.Object
de.jaret.util.date.DateUtils
public class DateUtils
- extends Object
Date util class containing methods for JaretDate and the HolidayEnumerator.
- Version:
- $Id: DateUtils.java 262 2007-02-17 23:51:03Z olk $
- Author:
- Peter Kliem
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateUtils
public DateUtils()
workingDays
public static int workingDays(JaretDate from,
JaretDate to,
HolidayEnumerator he)
- Count the working days between from and to.
- Parameters:
from
- start date. Will be included!to
- end date. will be included.he
- holidayenumerator for determinig if a day is a holiday
- Returns:
- number of working days
getFirstDayOfWeek
public static int getFirstDayOfWeek()
- Retrieve the first day of the week using the systems default locale.
- Returns:
- the first day of the week as defiend in gregoriean calendar for the current default locale.
Copyright © 2013. All Rights Reserved.