Files
playbook/docs/tsl/codegen/dotnet/runtime/misc.md
T
csh b6160676b4 ♻️ refactor(tsl): rebuild codegen taxonomy
Move generated builtin and dotnet function docs into the upgraded taxonomy, remove legacy route pages, and regenerate function_index.tsv from markdown headings.
2026-07-07 16:36:08 +08:00

22 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 运行时 / 其他
### `isValidDateDay(a_year)`
判断参数指定的年以及此年的第ADayOfYear天是否是有效日期。返回值类型是布尔型真假值 所谓有效,意味着: 年Ayear介于1和9999之间 ADayOfYear介于1和指定Ayear年的最大天数
| 参数 | 类型 | 说明 |
| -------- | ---- | --------------------------------------------------------------------- |
| `a_year` | int | 整数,年,指定的年份;ADayOfYearASecond:整数,表示在Ayear年份的第几天 |
返回:bool
### `recodeSecond(a_value)`
将参数ASecond指定的秒数(0至59)替换掉参数AValue中的相应的秒数信息,得到的日期时间类型返回
| 参数 | 类型 | 说明 |
| --------- | -------- | ------------------------------------------------- |
| `a_value` | datetime | 日期时间类型;AMinute:整数,秒数,定义域\[059\] |
返回:datetime