Fixed the bug where calling some DateFormatSettings setters would result in an unintentional exception.