This changes will improve the method of selectCurrentTime() in order to meet these use cases:
When users click on current Time button the result date not only needs to be present hour and minute but also year, month and day.
At some business logic, developers want that when users click on current Time button the result time needs to be at UTC.
Developers could use this two use cases at same time. IE: When users click on current Time button the result date not only needs to be present hour and minute in UTC but also year, month and day (at UTC).
This changes will improve the method of
selectCurrentTime()
in order to meet these use cases:When users click on
current Time
button the result date not only needs to be present hour and minute but also year, month and day.At some business logic, developers want that when users click on
current Time
button the result time needs to be atUTC
.Developers could use this two use cases at same time. IE: When users click on
current Time
button the result date not only needs to be present hour and minute inUTC
but also year, month and day (atUTC
).