org.opengts.db
Class WorkHours.Day

java.lang.Object
  extended by org.opengts.db.WorkHours.Day
Enclosing class:
WorkHours

public static class WorkHours.Day
extends java.lang.Object

Day


Constructor Summary
WorkHours.Day()
           
WorkHours.Day(int todStartMin, int todEndMin)
           
WorkHours.Day(WorkHours.Day day)
           
 
Method Summary
 int countWorkMinutes(int todStartMin, int todEndMin)
           
 int getNextMatch(int todMin, boolean working)
           
 java.lang.String getTimeRange()
           
 boolean isMatch(int todMin)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkHours.Day

public WorkHours.Day()

WorkHours.Day

public WorkHours.Day(int todStartMin,
                     int todEndMin)

WorkHours.Day

public WorkHours.Day(WorkHours.Day day)
Method Detail

isMatch

public boolean isMatch(int todMin)

getNextMatch

public int getNextMatch(int todMin,
                        boolean working)

countWorkMinutes

public int countWorkMinutes(int todStartMin,
                            int todEndMin)

getTimeRange

public java.lang.String getTimeRange()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object