This is a CRUD (Create, Read, Update, Delete) application for managing Time Capsules. Time Capsules are items with content that are locked until a specified unlock date.
This CRUD application allows you to manage Time Capsules. Each Time Capsule has a unique ID, content, and an unlock date. You can perform various operations such as adding, updating, deleting, and retrieving Time Capsules.
Retrieve a Time Capsule by providing its ID.
Add a new Time Capsule with the specified content and unlock date.
Update the content and unlock date of an existing Time Capsule.
Delete a Time Capsule by providing its ID.
Update the unlock date of an existing Time Capsule.
Retrieve a list of all Time Capsules.
Mark a Time Capsule as opened (additional actions can be performed here).
Retrieve the total number of Time Capsules.
Retrieve the count of Time Capsules whose unlock date is before a specified date.
-
Get Time Capsule
- Use this function to retrieve details of a specific Time Capsule.
-
Add Time Capsule
- Add a new Time Capsule with content and an unlock date.
-
Update Time Capsule
- Modify the content and unlock date of an existing Time Capsule.
-
Delete Time Capsule
- Delete an existing Time Capsule by providing its ID.
-
Update Unlock Date
- Change the unlock date of an existing Time Capsule.
-
Get All Time Capsules
- Retrieve a list of all Time Capsules.
-
Mark Time Capsule as Opened
- Mark a Time Capsule as opened (additional actions can be performed here).
-
Get Total Number of Time Capsules
- Retrieve the total number of Time Capsules.
-
Get Time Capsules Count Before Date
- Retrieve the count of Time Capsules whose unlock date is before a specified date.