UNPKG

@iro/calendar

Version:

lunar is a calendar library for Solar and Chinese Lunar.

27 lines 739 B
var ShuJiu = (function () { function ShuJiu(name, index) { this._name = name; this._index = index; } ShuJiu.prototype.getName = function () { return this._name; }; ShuJiu.prototype.setName = function (name) { this._name = name; }; ShuJiu.prototype.getIndex = function () { return this._index; }; ShuJiu.prototype.setIndex = function (index) { this._index = index; }; ShuJiu.prototype.toString = function () { return this.getName(); }; ShuJiu.prototype.toFullString = function () { return this.getName() + '第' + this.getIndex() + '天'; }; return ShuJiu; }()); export { ShuJiu }; //# sourceMappingURL=ShuJiu.js.map