mirror of https://github.com/01-edu/public.git
docs: adding more details and fix typos
This commit is contained in:
parent
a7e7a03e7a
commit
351c4bc3bd
|
@ -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.
|
||||
|
||||
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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue