manifesto.js
Version:
IIIF Presentation API utility library for client and server
14 lines • 414 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var Duration = /** @class */ (function () {
function Duration(start, end) {
this.start = start;
this.end = end;
}
Duration.prototype.getLength = function () {
return this.end - this.start;
};
return Duration;
}());
exports.Duration = Duration;
//# sourceMappingURL=Duration.js.map