Rev 3857 | Blame | Compare with Previous | Last modification | View Log | RSS feed
package org.tela_botanica.client.modeles.objets;
public class DateObservation {
private String annee=null;
private String mois=null;
private String jour=null;
public DateObservation(String date) {
String dateTab[] = date.split(" ") ;
String dateSpl[] = dateTab[0].split("-") ;
annee= dateSpl[0];
mois= dateSpl[1];
jour= dateSpl[2];
}
public String getAnnee() {
return annee;
}
public String getMois() {
return mois;
}
public String getJour() {
return jour;
}
}