Ах 3.0.
Смотрим класс xRefUpdateTypeHierarchy.fillxRefTypeHierarchy()
X++:
if ((dictType.baseType() == Types::INTEGER) &&
(isTypeTime((Types::USERTYPE) | (dictType.id() << 16))))
global-метод isTypeTime
X++:
/*
Tests whether the specified typeid is inherited from a timeOfDay type
*/
static boolean isTypeTime(int id) // typeId
{
return Global::isType(typeId2ExtendedTypeId(id), typeId2ExtendedTypeId(typeId(timeOfDay))) ||
Global::isType(typeId2ExtendedTypeId(id), typeId2ExtendedTypeId(typeId(createdTime))) ||
Global::isType(typeId2ExtendedTypeId(id), typeId2ExtendedTypeId(typeId(modifiedTime)));
}
т.е. они сами не смогли получить "6" не перечислив основные временные типы существовавшие на тот момент?