de.jaret.util.date.holidayenumerator
Interface NamedDate

All Superinterfaces:
Comparable<NamedDate>
All Known Implementing Classes:
HolidayEnumeratorBase.NamedDateImpl

public interface NamedDate
extends Comparable<NamedDate>

Interface for the combintaion of a date and a name for the date. As an additional information the date can be categorized to be a holiday.

Version:
$Id: NamedDate.java 242 2007-02-11 21:05:07Z olk $
Author:
Peter Kliem

Method Summary
 Date getDate()
          Retrieve the date.
 String getName()
          Retrive the name of the date.
 boolean isHoliday()
          Return whether the day is marked as a holiday.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getName

String getName()
Retrive the name of the date.

Returns:
name of the date

getDate

Date getDate()
Retrieve the date.

Returns:
date

isHoliday

boolean isHoliday()
Return whether the day is marked as a holiday.

Returns:
tre for holiday


Copyright © 2013. All Rights Reserved.