Function that will initialize the pattern instance.
ID of the TimePickerItem that will be initialized.
the TimePicker instance
Function that will initialize the pattern instance.