if (targetType.equals(Duration.class))
return bool ? new Duration(1) : new Duration(0);
if (targetType.equals(Period.class))
return bool ? new Period(1) : new Period(0);
if (targetType.equals(Int128.class))
return bool ? new Int128("1") : new Int128("0");
if (targetType.equals(UnsignedByte.class))
return bool ? new UnsignedByte((byte) 1) : new UnsignedByte((byte) 0);
if (targetType.equals(UnsignedShort.class))
return bool ? new UnsignedShort(1) : new UnsignedShort(0);
if (targetType.equals(UnsignedInteger.class))