public static Integer getDay(Day day)
   {
      Integer result = null;
      if (day != null)
      {
         result = DAY_MAP.get(day);
      }
      return (result);
   }
public static Integer getDay ( Day day ) { Integer result = null ; if ( day != null ) { result = DAY_MAP . get ( day ) ; } return ( result ) ; }
Convert Day instance to MPX day index.

@param day Day instance
@return day index