Subversion Repositories eFlore/Applications.coel

Rev

Rev 975 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

package org.tela_botanica.client.util;

import java.util.Date;

import com.google.gwt.i18n.client.DateTimeFormat;

public class UtilDate {
        
        public static String formaterEnString(Date date)        {
                String dateChaine = "0000-00-00";
                if (date != null) {
                        dateChaine = DateTimeFormat.getFormat("yyyy-MM-dd").format(date);
                }
                return dateChaine;
        }
}