Java Date/time class supported in new workbench Test Scenario?

huangapple go评论55阅读模式
英文:

Java Date/time class supported in new workbench Test Scenario?

问题

新业务中央工作台测试场景是否支持日期/时间类型?java.time.LocalDateTime 似乎不起作用,尽管对于日期,java.time.LocalDate 可以正常工作。

英文:

Is there a date/time type supported by the new business central workbench test scenarios? java.time.LocalDateTime does not appear to work although for dates java.time.LocalDate does work

答案1

得分: 4

抱歉,无法提供翻译。

英文:

There is no embedded support for java.time.LocalDateTime but starting from version 7.30 we support MVEL expressions in RULE based test scenarios: it is enough to add # as prefix to the value and then you can invoke the Java method that you prefer.
In EXPECT section you can use an implicit variable named actualValue to have access to the value of that column

Java Date/time class supported in new workbench Test Scenario?

答案2

得分: 0

支持LocalDateTimeLocalTime从版本7.47.0开始添加。

英文:

Support to LocalDateTime and LocalTime was added since version 7.47.0.

huangapple
  • 本文由 发表于 2020年1月6日 21:59:06
  • 转载请务必保留本文链接:https://go.coder-hub.com/59613436.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定