je pensais faire un truc comme ça mais je voudrais eviter de faire planter
Date date = context.getSimulationControl().getDate();
if(Month.JANUARY.equals(date.getMonth()) { return ;}
else if(Month.FEBRUARY.equals(date.getMonth()) { return;}
else if(Month.MARCH.equals(date.getMonth()) { return;}
else if(Month.APRIL.equals(date.getMonth()) { return;}
else if(Month.MAY.equals(date.getMonth()) { return;}
else if(Month.JUNE.equals(date.getMonth()) { return;}
else if(Month.JULY.equals(date.getMonth()) { return;}
else if(Month.AUGUST.equals(date.getMonth()) { return;}
else if(Month.SEPTEMBER.equals(date.getMonth()) { return;}
else if(Month.OCTOBER.equals(date.getMonth()) { return;}
else if(Month.NOVEMBER.equals(date.getMonth()) { return;}
else if(Month.DECEMBER.equals(date.getMonth()) { return;}
est-ce correct?
Le 06/06/2013 12:40, Stephanie MAHEVAS a écrit :
hello Sigrid et les autres
à tout hasard, aurais-tu une equation d'inactivite qui specifierait une inactivité en jour de mer par mois qui pourrait me servir d'exemple?
merci
steph
--
......................................................................
Stephanie MAHEVAS (Stephanie.Mahevas@ifremer.fr)
IFREMER/EMH (Ecologie et Modèles pour l'Halieutique)
Tel: (33) 2 40 37 41 81 Fax: (33) 2 40 37 40 75
o \ o / _ o __| \ / |__ o _ \ o / o
/|\ | /\ ___\o \o | o/ o/__ /\ | /|\
/ \ / \ | \ /) | ( \ /o\ / ) | (\ / | / \ / \
......................................................................
_______________________________________________
Isis-fish-users mailing list
Isis-fish-users@list.isis-fish.org
http://list.isis-fish.org/cgi-bin/mailman/listinfo/isis-fish-users