private WeekDay readWeekDay ( JSONValue val ) throws IllegalArgumentException { String str = readOptionalString ( val ) ; if ( null != str ) { return WeekDay . valueOf ( str ) ; } throw new IllegalArgumentException ( ) ; }
Read a single weekday from the provided JSON value .