package Ġcom . mobile dev pro . remote . mapper Ċ Ċ import Ġcom . mobile dev pro . data . model . Country Total Entity Ċ import Ġcom . mobile dev pro . data . model . Total Value Entity Ċ import Ġcom . mobile dev pro . data . model . statistic . Country Statistic Entity Ċ import Ġcom . mobile dev pro . remote . model . response . Country Statistic Response Ċ import Ġcom . mobile dev pro . remote . model . response . Country Total Response Ċ import Ġcom . mobile dev pro . remote . model . response . Total Response Ċ import Ġjava . text . SimpleDateFormat Ċ import Ġjava . util .* Ċ Ċ fun ĠTotal Response . to Entity () Ġ= ĠTotal Value Entity ( ĊĠĠĠ Ġcount Ġ= Ġfeature . first (). attribute . value Ċ ) Ċ Ċ fun ĠCountry Total Response . to Entity () Ġ= ĠCountry Total Entity ( ĊĠĠĠ Ġid Ġ= Ġid , ĊĠĠĠ Ġcountry Ġ= Ġcountry , ĊĠĠĠ Ġupdated Ġ= Ġupdated , ĊĠĠĠ Ġlatitude Ġ= Ġlatitude , ĊĠĠĠ Ġlongitude Ġ= Ġlongitude , ĊĠĠĠ Ġconfirmed Ġ= Ġconfirmed , ĊĠĠĠ Ġdeath s Ġ= Ġdeath s , ĊĠĠĠ Ġre covered Ġ= Ġre covered , ĊĠĠĠ Ġactive Ġ= Ġactive Ċ ) Ċ Ċ fun ĠCountry Statistic Response . to Entity () Ġ= ĠCountry Statistic Entity ( ĊĠĠĠ Ġid Ġ= Ġid , ĊĠĠĠ Ġcountry Ġ= Ġcountry , ĊĠĠĠ Ġupdated Ġ= Ġupdated , ĊĠĠĠ Ġconfirmed Ġ= Ġconfirmed , ĊĠĠĠ Ġdeath s Ġ= Ġdeath s , ĊĠĠĠ Ġdelta Confirmed Ġ= Ġdelta Confirmed Ċ ) Ċ Ċ fun ĠString . toDate Long (): ĠLong Ġ{ ĊĠĠĠ Ġval ĠdateFormat Ġ= ĠSimpleDateFormat (" MM / dd / yy ", ĠLocale . getDefault ()) ĊĠĠĠ Ġval Ġdate Ġ= ĠdateFormat . parse ( this ) ĊĠĠĠ Ġreturn Ġdate . time Ċ }