This is a helper routine used for the internationalization of datatypes. It extracts formats from a properties file based on datatype and locale country and language codes.
author: JonnyR
determineLayout(String inputLayout) This method will obtain obtain the layout by invoking the getProperty() method,
if the inputLayout is enclosed in square brackets.
This method will obtain obtain the layout by invoking the getProperty() method,
if the inputLayout is enclosed in square brackets. Eg. [Xyz].
Otherwise, it simply returns the inputLayout.
A null is returned, in case the input is null.
Parameters: inputLayout - the input layout to be parsed the parsed layout.
Returns a format based on country and language from the locale.properties file
Parameters: dataType - datatype that the format is requested for returns a format string for parsing and formatting a datatype