var total,
m,
n,
k;
var isEnd = false;
var tmp = TheDate.getFullYear();
total = (tmp - 1921) * 365 + Math.floor((tmp - 1921) / 4) + madd[TheDate.getMonth()] + TheDate.getDate() - 38;
if (TheDate.getYear() % 4 == 0 && TheDate.getMonth() > 1) {
total++;
}
for (m = 0;; m++) {
k = (CalendarData[m] < 0xfff) ? 11: 12;
for (n = k; n >= 0; n--) {
if (total <= 29 + GetBit(CalendarData[m], n)) {
isEnd = true;
break;
}
total = total - 29 - GetBit(CalendarData[m], n);
}
if (isEnd) break;
}
cYear = 1921 + m;
cMonth = k - n + 1;
cDay = total;
if (k == 12) {
if (cMonth == Math.floor(CalendarData[m] / 0x10000) + 1) {
cMonth = 1 - cMonth;
高薪内推藏陷阱 “招转培”骗局盯上求职者
3月新发基金千亿份 存量挺进38万亿元
上市银行分红“进行时” 六大行派现超4200亿元
安信基金能否站稳“千亿俱乐部”
迷你基金陷空转困局 清盘机制亟待破局
油气主题基金大幅回调 难阻资金涌入QDII产品
已完成新一轮IPO更新申报 湖北银行回应涉10项违规行为罚单
江苏信托董事长辞任 总经理丁锋代为履职
鸿仕达IPO:“果链”依赖症待解
从“一日办结”到“点绿成金”
洛阳钼业2025年营收微降 净利润同比增长超五成
“对话风控模型”以创新实践赋能大模型健康发展
var total,
m,
n,
k;
var isEnd = false;
var tmp = TheDate.getFullYear();
total = (tmp - 1921) * 365 + Math.floor((tmp - 1921) / 4) + madd[TheDate.getMonth()] + TheDate.getDate() - 38;
if (TheDate.getYear() % 4 == 0 && TheDate.getMonth() > 1) {
total++;
}
for (m = 0;; m++) {
k = (CalendarData[m] < 0xfff) ? 11: 12;
for (n = k; n >= 0; n--) {
if (total <= 29 + GetBit(CalendarData[m], n)) {
isEnd = true;
break;
}
total = total - 29 - GetBit(CalendarData[m], n);
}
if (isEnd) break;
}
cYear = 1921 + m;
cMonth = k - n + 1;
cDay = total;
if (k == 12) {
if (cMonth == Math.floor(CalendarData[m] / 0x10000) + 1) {
cMonth = 1 - cMonth;