Subversion Repositories eFlore/Applications.cel

Rev

Rev 2566 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
989 aurelien 1
package org.tela_botanica.client.modeles.objets;
91 jpm 2
 
3
public class DateObservation {
4
 
5
	private String annee=null;
6
	private String mois=null;
7
	private String jour=null;
8
 
9
	public DateObservation(String date) {
10
 
11
		String dateTab[] = date.split(" ") ;
12
		String dateSpl[] = dateTab[0].split("-") ;
13
 
14
		annee= dateSpl[0];
15
		mois= dateSpl[1];
16
		jour= dateSpl[2];
17
 
18
	}
19
 
20
	public String getAnnee() {
21
		return annee;
22
	}
23
 
24
 
25
	public String getMois() {
26
		return mois;
27
	}
28
 
29
 
30
	public String getJour() {
31
		return jour;
32
	}
2566 aurelien 33
}