Skip to content

Tag Archives: Java-text package

The equals() Method of SimpleDateFormat class is used to compare two SimpleDateFormat objects. The method returns True if this SimpleDateFormat is equal to the passed… Read More
The get2DigitYearStart() Method of SimpleDateFormat class is used to return the start of 100 year period that was set during parsing or set2DigitYearStart() method. It… Read More
The toPattern() Method of SimpleDateFormat class is used to return the pattern of the date format. Syntax:   public String toPattern() Parameters: The method does not… Read More
The parse() Method of SimpleDateFormat class is used to parse the text from a string to produce the Date. The method parses the text starting… Read More
The set2DigitYearStart() Method of SimpleDateFormat class is used to set the 100-year period 2-digit years and interpret the same as being in to begin on… Read More