settableTimeZoneFactory function
Workaround to avoid making SettableTimeZone @Injectable(), since that gives the error: 'Missing identifier "TimeFunction" from metadata map".
Implementation
@Injectable()
SettableTimeZone settableTimeZoneFactory() => SettableTimeZone();