Create a Time class which holds following information:hourminutesecondCreate adate class which holds the following information:daymonthyearCreate Constructors for bothclassesA minimum of 3 constructors including default constructorGetters and settersHelper methodstoString() methodtoUniversalTime()toStandardTime()Validate the data in the setters.Create an application that uses both Time and Date classesCreate 2 instances of Time and DateUse aScannerto read in the informationprint Time and Date in both Universal Time and Standard TimeBe sure this is your own original work! You are to input compile and debug the programs.Submit the following:UML Diagram Source Code Java doc