ReisG / Lifor

Organizing time app
1 stars 0 forks source link

Deleting what doesn't belong to Event class #4

Closed ReisG closed 2 years ago

ReisG commented 2 years ago

There were deleted things that doesn't belong to Event class such as:

  1. Event class is actually a data class for storing data. It must not have an ability to change a database.
  2. Event object cannot be changed. The only way you can change it is to replace it with another.

Also I understood that it would be a nightmare to use libraries we don't know. I removed it. We will make our own parsing method because we will need to do it in future anyway.