decord/source/module_3287.js
2026-07-21 22:01:30 +00:00

45 lines
1.6 KiB
JavaScript

// Module ID: 3287
// Function ID: 26022
// Dependencies: []
// Module 3287
const _module = require(dependencyMap[0]);
if (!_module) {
let obj = { default: _module };
} else {
obj = _module;
}
obj = {
ordinalNumber(arg0, unit) {
const NumberResult = Number(arg0);
unit = undefined;
if (null != unit) {
unit = unit.unit;
}
const StringResult = String(unit);
if ("minute" !== StringResult) {
if ("second" !== StringResult) {
if ("date" === StringResult) {
return NumberResult + "\uC77C";
} else {
return NumberResult + "\uBC88\uC9F8";
}
}
}
return String(NumberResult);
}
};
obj.era = obj.default({ values: { narrow: ["<string:168035074>", "<string:1285509378>"], abbreviated: ["<string:168035074>", "<string:1285509378>"], wide: [] }, defaultWidth: "wide" });
obj.quarter = obj.default({
values: { narrow: [null, null, null, null], abbreviated: ["r", "isArray", "Icon", "channel_id"], wide: [-359858173, 1950416898, 1045495811, 36745028] },
defaultWidth: "wide",
argumentCallback(arg0) {
return arg0 - 1;
}
});
obj.month = obj.default({ values: { narrow: [], abbreviated: [], wide: [] }, defaultWidth: "wide" });
obj.day = obj.default({ values: { narrow: [], short: [], abbreviated: [], wide: [] }, defaultWidth: "wide" });
obj.dayPeriod = obj.default({ values: { narrow: {}, abbreviated: {}, wide: {} }, defaultWidth: "wide", formattingValues: { narrow: {}, abbreviated: {}, wide: {} }, defaultFormattingWidth: "wide" });
export default obj;
export default exports.default;