Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Class Week

    java.lang.Object
      Week

    public class Week

extends java.lang.Object

Week. Turns dates into numbered weeks. Works with plainDate.

Uses `plainDate`

Version:
  1.2
Author:
  Fred Kral

Constructor Summary
`Week(int weekNum, plainDate pMonday)`

Method Summary
`boolean` | `getActiveWeek()`
`int` | `getActiveWeekNum()`
`plainDate` | `getDateFromWeekday(int weekdayNumber)`
`plainDate[]` | `getDays()`
`Week` | `getNextWeek()`
`Week` | `getPreviousWeek()`
`int` | `getWeekNum()`
`boolean` | `inWeek(plainDate pDate)` See if a given date is in this particular week
`void` | `sysPrint()`
`int` | `whichDay(plainDate pDate)` find the weekday of a give date, if it is in this week

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Week

    public Week(int weekNum,
                plainDate pMonday)

Method Detail

### inWeek

    public boolean inWeek(plainDate pDate)

  See if a given date is in this particular week

### whichDay

    public int whichDay(plainDate pDate)

  find the weekday of a give date, if it is in this week

### getDateFromWeekday

    public plainDate getDateFromWeekday(int weekdayNumber)

### getWeekNum

    public int getWeekNum()

### getActiveWeekNum

    public int getActiveWeekNum()

### getActiveWeek

    public boolean getActiveWeek()

### getNextWeek

    public Week getNextWeek()

### getPreviousWeek

    public Week getPreviousWeek()

### getDays

    public plainDate[] getDays()

### sysPrint

    public void sysPrint()

Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD