Elementary clock widget

This code snippet demonstrates how to create an elementary clock widget and perform basic operations on it: set am/pm mode, show seconds, enable edit mode, set custom time