Currently I get a number from the BE that states like 750
minutes (int) and should represent the time of day.
750分钟= 12.5小时,因此用户界面应显示12:30 1080分钟= 18小时,因此用户界面应显示18:00
但是我似乎找不到一种方法,可以从几分钟到几小时又几分钟的正确转换。
In the end I want to have a TimeOfDay
object
我将继续努力,并且如果我自己找到答案,也会发布:)