Class FlexibleDateParser


  • public class FlexibleDateParser
    extends Object
    Warning: This class can parse a wide variety of formats. This flexibility is fine for parsing user input because the user immediately sees whether the parser is correct and can fix it if necessary. However, GML files are advised to stick with a safe format like yyyy-MM-dd. yy/MM/dd is not as safe because while 99/03/04 will be parsed as yyyy/MM/dd, 02/03/04 will be parsed as MM/dd/yyyy (because MM/dd/yyyy appears earlier than yyyy/MM/dd in FlexibleDateParser.txt).
    • Constructor Detail

      • FlexibleDateParser

        public FlexibleDateParser()