There were deleted things that doesn't belong to Event class such as:
Event class is actually a data class for storing data. It must not have an ability to change a database.
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.
There were deleted things that doesn't belong to Event class such as:
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.