public static SimpleDateFormat newDateFormat ( String format ) { SimpleDateFormat sdf = new SimpleDateFormat ( format , Locale . ROOT ) ; sdf . setLenient ( false ) ; return sdf ; }
Creates a new date formatter with Farrago specific options . Farrago parsing is strict and does not allow values such as day 0 month 13 etc .