it.unibas.appuntamenti.modello
Class Giorno

java.lang.Object
  extended byit.unibas.appuntamenti.modello.Giorno
All Implemented Interfaces:
java.lang.Comparable

public class Giorno
extends java.lang.Object
implements java.lang.Comparable


Constructor Summary
Giorno(int gg, int mese, int anno)
           
 
Method Summary
 void addImpegno(Impegno impegno)
           
 int compareTo(java.lang.Object giorno)
           
static java.lang.String costruisciStringaData(int gg, int mese, int anno)
           
 boolean equals(Giorno giorno)
           
 int getAnno()
           
 int getGiornoSettimana()
           
 Impegno getImpegno(int i)
           
 java.util.List getListaImpegni()
           
 int getMese()
           
 int getNumeroImpegni()
           
 int getNumGiorno()
           
 void ordinaImpegni()
           
 void removeImpegno(int i)
           
 java.lang.String stringaImpegni()
           
 java.lang.String toShortString()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Giorno

public Giorno(int gg,
              int mese,
              int anno)
Method Detail

getNumGiorno

public int getNumGiorno()

getMese

public int getMese()

getAnno

public int getAnno()

getGiornoSettimana

public int getGiornoSettimana()

toShortString

public java.lang.String toShortString()

toString

public java.lang.String toString()

equals

public boolean equals(Giorno giorno)

addImpegno

public void addImpegno(Impegno impegno)

getListaImpegni

public java.util.List getListaImpegni()

getNumeroImpegni

public int getNumeroImpegni()

getImpegno

public Impegno getImpegno(int i)

removeImpegno

public void removeImpegno(int i)

ordinaImpegni

public void ordinaImpegni()

stringaImpegni

public java.lang.String stringaImpegni()

compareTo

public int compareTo(java.lang.Object giorno)
Specified by:
compareTo in interface java.lang.Comparable

costruisciStringaData

public static java.lang.String costruisciStringaData(int gg,
                                                     int mese,
                                                     int anno)