Files
playbook/skills/tsl-api-reference/references/codegen/dotnet/runtime/misc.md
T
csh e1f7ce052c feat(skills): add tsl api reference skill
Bundle the TSL API index and markdown references under the skill, route TSL docs to use it, and update the codegen index generator to maintain the bundled data.
2026-07-07 16:36:15 +08:00

1.0 KiB
Raw Blame History

运行时 / 其他

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