Precision(String fmt,String regex,int expectedStringLength) {
            this.formatter=new SimpleDateFormat(fmt);
            this.regex=regex;
            this.expectedStringLength=expectedStringLength;
        }