@iro/calendar
Version:
lunar is a calendar library for Solar and Chinese Lunar.
27 lines • 695 B
JavaScript
var Fu = (function () {
function Fu(name, index) {
this._name = name;
this._index = index;
}
Fu.prototype.getName = function () {
return this._name;
};
Fu.prototype.setName = function (name) {
this._name = name;
};
Fu.prototype.getIndex = function () {
return this._index;
};
Fu.prototype.setIndex = function (index) {
this._index = index;
};
Fu.prototype.toString = function () {
return this.getName();
};
Fu.prototype.toFullString = function () {
return this.getName() + '第' + this.getIndex() + '天';
};
return Fu;
}());
export { Fu };
//# sourceMappingURL=Fu.js.map