// lookup entity
HDict rec = readById(id);
// check that entity has "his" tag
if (rec.missing("his"))
throw new UnknownNameException("Rec missing 'his' tag: " + rec.dis());
// lookup "tz" on entity
HTimeZone tz = null;
if (rec.has("tz"))
tz = HTimeZone.make(rec.getStr("tz"), false);
if (tz == null)
throw new UnknownNameException("Rec missing or invalid 'tz' tag: " + rec.dis());
// check or parse date range
HDateTimeRange r = null;
if (range instanceof HDateTimeRange) {
r = (HDateTimeRange) range;