@abaplint/runtime
Version:
Transpiler - Runtime
42 lines • 995 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.UTCLong = void 0;
class UTCLong {
value;
qualifiedName;
constructor(input) {
this.clear();
this.qualifiedName = input?.qualifiedName;
}
clone() {
const n = new UTCLong({ qualifiedName: this.qualifiedName });
n.value = this.value;
return n;
}
getQualifiedName() {
return this.qualifiedName;
}
getOffset(_input) {
throw new Error("Method not implemented, getOffset(), utcLong");
}
set(value) {
if (typeof value === "string") {
this.value = value;
}
else if (typeof value === "number") {
this.value = value + "";
}
else {
this.set(value.get());
}
return this;
}
clear() {
this.value = "";
}
get() {
return this.value;
}
}
exports.UTCLong = UTCLong;
//# sourceMappingURL=utc_long.js.map