-function setupPoints(numberformat, wrongFormat) {
- decpoint = numberformat.substring((numberformat.substring(1, 2).match(/\.|\,|\'/) ? 5 : 4), (numberformat.substring(1, 2).match(/\.|\,|\'/) ? 6 : 5));
- if (numberformat.substring(1, 2).match(/\.|\,|\'/)) {
- thpoint = numberformat.substring(1, 2);
- }
- else {
- thpoint = null;
- }
- wrongNumberFormat = wrongFormat + " ( " + numberformat + " ) ";
-}
-
-function setupDateFormat(setDateFormat, setWrongDateFormat) {
- dateFormat = setDateFormat;
- wrongDateFormat = setWrongDateFormat + " ( " + setDateFormat + " ) ";
- formatArray = new Array();
- if(dateFormat.match(/^\w\w\W/)) {
- seperator = dateFormat.substring(2,3);
- }
- else {
- seperator = dateFormat.substring(4,5);
- }
-}
-