Dexcom interview question

Design a scheduler analogous to Java's Timer class.