Factored utility functions out of SimpleClock into System.Taffybar.Widgets.Util