name.gries.common
Class EventList

java.lang.Object
  extended by name.gries.common.EventList

public class EventList
extends java.lang.Object

EventList contains Notifications based on a given day (format MM/DD).

Version:
8.12.14
Author:
Michael Gries

Field Summary
private  java.util.Hashtable event
           
 
Constructor Summary
EventList()
          Creates a new instance of EventList.
 
Method Summary
 java.lang.String getEvent(java.lang.String day)
           
 boolean testEvent(java.lang.String day)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

event

private java.util.Hashtable event
Constructor Detail

EventList

public EventList()
Creates a new instance of EventList.

"09/24", "FONIC Konto 017696731423 prüfen http://www.fonic.de"
"09/26", "RTC supply Battery check"
"10/25", "Umstellung MESZ auf MEZ 03:00h"
"01/27", "27.01.1962 Michael*"

Method Detail

testEvent

public boolean testEvent(java.lang.String day)
Parameters:
day - (format MM/DD)
Returns:
boolean (true if notification found)

getEvent

public java.lang.String getEvent(java.lang.String day)
Parameters:
day - (format MM/DD)
Returns:
String Notification text