本文整理了Java中org.assertj.core.api.ZonedDateTimeAssert.<init>()
方法的一些代码示例,展示了ZonedDateTimeAssert.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZonedDateTimeAssert.<init>()
方法的具体详情如下:
包路径:org.assertj.core.api.ZonedDateTimeAssert
类名称:ZonedDateTimeAssert
方法名:<init>
[英]Creates a new ZonedDateTimeAssert
.
[中]创建一个新的ZonedDateTimeAssert
。
代码示例来源:origin: joel-costigliola/assertj-core
/**
* Creates a new instance of <code>{@link ZonedDateTimeAssert}</code>.
*
* @param actual the actual value.
* @return the created assertion object.
*/
public static AbstractZonedDateTimeAssert<?> assertThat(ZonedDateTime actual) {
return new ZonedDateTimeAssert(actual);
}
代码示例来源:origin: org.assertj/assertj-core
/**
* Creates a new instance of <code>{@link ZonedDateTimeAssert}</code>.
*
* @param actual the actual value.
* @return the created assertion object.
*/
@CheckReturnValue
public static AbstractZonedDateTimeAssert<?> assertThat(ZonedDateTime actual) {
return new ZonedDateTimeAssert(actual);
}
代码示例来源:origin: org.assertj/assertj-core-java8
/**
* Creates a new instance of <code>{@link ZonedDateTimeAssert}</code>.
*
* @param actual the actual value.
* @return the created assertion object.
*/
public static AbstractZonedDateTimeAssert<?> assertThat(ZonedDateTime date) {
return new ZonedDateTimeAssert(date);
}
内容来源于网络,如有侵权,请联系作者删除!