switch(time):

case MORNING:   print."write code";
case NOON:      print."write code";
case AFTERNOON: print."write code";
case EVENING:   print.evaluate(time);
case OTHER:     print.evaluate(time);