errors / issues

fukurou

the supreme coder
ADMIN
Swift:
//playground class test
let playGround = PlayGround()
print(playGround.getCurrentTimeStamp())
print(playGround.getSpecificTime(time_variable: enumTimes.day))
print(playGround.getMonthAsInt())
print(playGround.getHoursAsInt())
print(playGround.getFutureInXMin(extra_minutes: 10)) // errors when param
// makes hour increase
print(playGround.getPastInXMin(less_minutes: 5)) // adds instead of subtract
print(playGround.getPastInXMin(less_minutes: 70)) // err time displayed 122 ?!
print(playGround.getFutureHour(startHour: 20, addedHours: 3))
print(playGround.isDayTime())
//missing function small to big :
/*small to big returns true if the parameters entered are placed small
 to big, for example : 2,3,5 or 4,8,8,500
 while 6, 1 ,8 would return false*/
print(playGround.convertToDay(number: 3))
print(playGround.getGMT())
// GMT is the counries time value used to calculate time
// differences between different countries
// mine should output 2 not 2022-06-24 18:06:48 +0000
 
Top