Java Integer Convert To convertIntToDayOfWeek(int day)

Here you can find the source of convertIntToDayOfWeek(int day)

Description

convert Int To Day Of Week

License

Apache License

Declaration

static String convertIntToDayOfWeek(int day) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    static String convertIntToDayOfWeek(int day) {
        switch (day) {
        case 1:/*from   w ww .ja  v a 2  s .  c  o  m*/
            return "MON";
        case 2:
            return "TUE";
        case 3:
            return "WED";
        case 4:
            return "THU";
        case 5:
            return "FRI";
        case 6:
            return "SAT";
        case 7:
            return "SUN";
        default:
            return null;
        }
    }
}

Related

  1. convertInternalFormToQualifiedClassName( final String classInternalName)
  2. convertIntFromBytes(byte[] byteArray)
  3. convertIntfwl(String[] idArray)
  4. convertIntList(Integer[] list)
  5. convertIntoRange(Integer inValue, int inSteps, int inMin, int inMax)
  6. convertIntToDouble(final int[] intValues)
  7. convertIntToDWord(final int value)
  8. convertIntToLong(Integer intId)
  9. convertInttoMultiByte(int val)