执行控制计划 [英] Perform control schedule

查看:38
本文介绍了执行控制计划的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好。


你好这个剧本:

Hi there.

Hi have this script:

展开 | 选择 | 换行 | 行号

推荐答案

对于每个字段,通过使用split()分割输入来获取小时和分钟。使用parseInt转换为数字。然后加起来。如果小时数超过7,则验证失败。如果小时数等于7,但分钟数超过36,则验证失败。如果你遇到困难,请发布你的尝试。
For each field, get the hours and minutes by splitting the input using split(). Use parseInt to convert into a number. Then add them up. If the hours are more than 7, then validation fails. If the hours equal 7, but the minutes exceed 36, again the validation fails. If you get stuck, post your attempt.


对不起,我不明白...例如?
Sorry I not understand... for example ?


例如,让我们说你有''字段''包含输入:
For example, let''s say you have ''field'' which contains the input:
展开 | 选择 | Wrap | 行号


这篇关于执行控制计划的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆