Mirror docs/tsl/codegen into the bundled tsl-api-reference skill and rebuild the function index. Remove invalid duplicate API entries for cb_delistedbydate, createhttpsession, exportJsonString, and Anova_Bartlett so exact lookup returns the canonical entries.
22 lines
1.0 KiB
Markdown
22 lines
1.0 KiB
Markdown
# 运行时 / 其他
|
||
|
||
## `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:整数,秒数,定义域\[0,59\] |
|
||
|
||
返回:datetime
|