Instead of using C-arrays, and manually counting their lengths, use AK::Array. And pass these arrays around as spans, instead of as pointer- and-length pairs.
TimeManagement
ConsoleDevice