文档
-
学生
-
老师
-
编程
-
-
-
- 以 Unix 时间创建 DateTimeOffset
- 以不同单位创建 DateTimeOffset
- 以其他格式显示时间
- 以毫秒显示DateTimeOffset
- 使用当前时间创建DateTimeOffset
- 将 DateTimeOffset 与新的协调世界时偏移量合并
- 将 DateTimeOffset 变更成字串格式
- 将文字转换为 DateTimeOffset 格式
- 将间距加到dateTimeOffset
- 检查DateTimeOffset是否在正确的数据类型
- 检查两个DateTimeOffsets是否相同
- 计算两个DateTimeOffsets之间的间距
- 设定协调世界时偏移量
- 转换DateTimeOffset为字串
-
Print
转到萤幕
转到萤幕
{"blocks":"secondScreen "}
这积木是用作移动到其他萤幕。
参数:萤幕
输出: N/A
示例代码
{"blocks":"mainLayout secondLayout mainScreen secondScreen moveToSecond mainLayout 0 secondLayout 0 mainScreen 0 Main mainLayout secondScreen 0 Second secondLayout moveToSecond 0 Move to second screen mainLayout moveToSecond mainLayout This is main screen. secondLayout This is second screen. moveToSecond secondScreen mainLayout 255 218 185 secondLayout 0 255 191 FlexShorthand.Auto mainLayout FlexShorthand.Auto secondLayout "}
在主螢幕時的輸出結果:
按下「Move to second screen」後: