Updated to extend TimeUnit on example.