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

## archive.utility
Class Day

    java.lang.Object
      archive.utility.Day

All Implemented Interfaces:
  java.lang.Comparable<java.lang.Integer>

    public class Day

extends java.lang.Object
implements java.lang.Comparable<java.lang.Integer>

Classe che tiene conto del numero di settimana in corso Permette di confrontare numeri di settimana

Constructor Summary
`Day()`

Method Summary
`int` | `compareTo(java.lang.Integer week)` Implementa il metodo dell'interfaccia `Comparable`
`int` | `getCurrentWeek()`

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

Constructor Detail

### Day

    public Day()

Method Detail

### compareTo

    public int compareTo(java.lang.Integer week)

  Implementa il metodo dell'interfaccia `Comparable`

  Specified by:
    `compareTo` in interface `java.lang.Comparable<java.lang.Integer>`
  Parameters:
    `week` - numero settimana da confrontare
  Returns:
    0 se uguale, 1 se maggiore, -1 se minore

### getCurrentWeek

    public int getCurrentWeek()

  Returns:
    numero della settimana corrente

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