Update app/src/main/java/be/ugent/sel/studeez/domain/implementation/ToTimerConverter.kt

Co-authored-by: Tibo De Peuter <Tibo.DePeuter@UGent.be>
This commit is contained in:
lbarraga 2023-04-17 14:36:12 +02:00 committed by GitHub Enterprise
parent ce001898fd
commit 894a2d0b82

View file

@ -5,13 +5,12 @@ import com.google.gson.Gson
import com.google.gson.reflect.TypeToken import com.google.gson.reflect.TypeToken
/** /**
* Wordt gebruikt door de ConfigurationService en door de TimerDAO. * Used by ConfigurationService and TimerDAO.
* *
* ConfigurationService: configuration wordt gefetched als een json-string, * ConfigurationService: configuration is fetched as a JSON-string,
* die wordt omgezet naar een TimerJson, die hier wordt omgezet naar de juiste TimerInfo * which is converted into a TimerJson, and converted here into the correct TimerInfo
* *
* timerDAO: Timers worden direct naar TimerJson gefetched, die hier ook worden omgezet naar * timerDAO: Timers are being fetched directly to TinerJson and convertes into the correct timerInfo
* de juiste timerInfo
*/ */
class ToTimerConverter { class ToTimerConverter {