@HLEFunction(nid=0x57726BC1,version=150) public int sceRtcGetDayOfWeek(int year,int month,int day){
  Calendar cal=Calendar.getInstance();
  cal.set(year,month - 1,day);
  int dayOfWeekNumber=cal.get(Calendar.DAY_OF_WEEK);
  dayOfWeekNumber=(dayOfWeekNumber - 1 + 7) % 7;
  if (log.isDebugEnabled()) {
    log.debug(String.format("sceRtcGetDayOfWeek returning %d",dayOfWeekNumber));
  }
  return dayOfWeekNumber;
}

@ HLEFunction ( nid = 0x57726BC1 , version = 150 ) public int sceRtcGetDayOfWeek ( int year , int month , int day ) { Calendar cal = Calendar . getInstance ( ) ; cal . set ( year , month - 1 , day ) ; int dayOfWeekNumber = cal . get ( Calendar . DAY_OF_WEEK ) ; dayOfWeekNumber = ( dayOfWeekNumber - 1 + 7 ) % 7 ; if ( log . isDebugEnabled ( ) ) { log . debug ( String . format ( "sceRtcGetDayOfWeek returning %d" , dayOfWeekNumber ) ) ; } return dayOfWeekNumber ; }
returns the day of the week . 0 = sunday , 1 = monday , 2 = tuesday , 3 = wednesday , 4 = thursday , 5 = friday , 6 = saturnday
