Browse Source

docs: adding more details and fix typos

pull/2651/head
amin 2 months ago committed by zanninso
parent
commit
351c4bc3bd
  1. 4
      subjects/java/checkpoints/date-formatter/README.md

4
subjects/java/checkpoints/date-formatter/README.md

@ -10,9 +10,9 @@ Write a class `DateFormatter` that has three private attributes:
Create getters for all the attributes and setters for `date` and `format`. The conversion should happen when you set the `format` or the `date`. If the `format` is not correct, the conversion shouldn't happen. Additionally, create methods to output the date in the specified `format`, and constructors with only the `date`, with `date` and `format`, and a default constructor. Create getters for all the attributes and setters for `date` and `format`. The conversion should happen when you set the `format` or the `date`. If the `format` is not correct, the conversion shouldn't happen. Additionally, create methods to output the date in the specified `format`, and constructors with only the `date`, with `date` and `format`, and a default constructor.
The default date is the current date, and the format as follow `DD/MM/YYYY`. The default date is the current date, and the format as follows `DD/MM/YYYY`, The format is case insesitive
> Using standart library to convert UNIX time to date is allowed > Using standard library to convert UNIX time to date and to get date component is allowed.
#### The accepted date formats are: #### The accepted date formats are:

Loading…
Cancel
Save