Weeksweek= Weeks.TUE; switch (week) { case MON: System.out.println("星期1"); break; case TUE: System.out.println("星期2"); break; case WEN: System.out.println("星期3"); break; case TUH: System.out.println("星期4"); break; case FRI: System.out.println("星期5"); break; case SAT: System.out.println("星期6"); break; case SUN: System.out.println("星期7"); break; }