#17 taskdb.json changed to the right variable types, JsonTaskDatabase.java fully implemented and documented

This commit is contained in:
Gian-Andrea Hutter
2022-10-25 18:11:29 +02:00
parent 8fd57d91f2
commit 6c75fcd0ec
4 changed files with 110 additions and 47 deletions
@@ -2,49 +2,49 @@
{
"id" : 1,
"name" : "sow plant",
"description": "Plant the seeds/ crops in de bed.",
"startDate" : "22-05",
"endDate" : "22-05",
"description": "Plant the seeds, crops in de bed.",
"startDate" : "2022-05-01",
"endDate" : "2022-05-01",
"interval" : 0
},
{
"id" : 2,
"name" : "water plant",
"description": "water the plant, so that the soil is wet around the plant.",
"startDate" : "22-05",
"endDate" : "22-09",
"startDate" : "2022-05-01",
"endDate" : "2022-09-01",
"interval" : 2
},
{
"id" : 3,
"name" : "fertilize plant",
"description": "The fertilizer has to be mixed with water. Then fertilize the plant's soil with the mixture",
"startDate" : "22-06",
"endDate" : "22-08",
"description": "The fertilizer has to be mixed with water. Then fertilize the plants soil with the mixture",
"startDate" : "2022-06-01",
"endDate" : "2022-08-01",
"interval" : 28
},
{
"id" : 4,
"name" : "covering plant",
"description": "Take a big enough coverage for the plants. Cover the whole plant with a bit space between the plant and the coverage",
"startDate" : "22-07",
"endDate" : "22-07",
"startDate" : "2022-07-01",
"endDate" : "2022-07-01",
"interval" : 0
},
{
"id" : 5,
"name" : "look after plant",
"description": "Look for pest or illness at the leaves of the plant. Check the soil around the plant, if the roots are enough covered with soil",
"startDate" : "22-05",
"endDate" : "22-09",
"startDate" : "2022-05-01",
"endDate" : "2022-09-01",
"interval" : 5
},
{
"id" : 6,
"name" : "harvest plant",
"description": "Pull the ripe vegetables out from the soil. Clean them with clear, fresh water. ",
"startDate" : "22-09",
"endDate" : "22-09",
"startDate" : "2022-09-01",
"endDate" : "2022-09-01",
"interval" : 0
}
]