In FoxPro and other languages, you can assign a data object as a date field. That field has its own built in method for testing the user input. You can also set the type of date easy with one command as set date US or British etc. However, I cannot do this assignment in Java programming code with such simple commands. How can you assign the date field to do its own built in method for testing the user input? Is there a command where you can set the date to the country?