-
-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue 1286 add asLocalDateTime to java.util.Date #1431
Issue 1286 add asLocalDateTime to java.util.Date #1431
Conversation
I saw that the 1.0.0 version is the current one but let me know if it is not @robstoll |
...B/src/jvmTest/kotlin/ch/tutteli/atrium/api/fluent/en_GB/samples/DateSubjectChangerSamples.kt
Outdated
Show resolved
Hide resolved
.toBeAfter(LocalDate.parse("2025-07-17")) // fails | ||
.toBeBefore(LocalDate.parse("1996-07-17")) // not evaluated/reported because `toBeAfter` already fails |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use LocalDateTime
...B/src/jvmTest/kotlin/ch/tutteli/atrium/api/fluent/en_GB/samples/DateSubjectChangerSamples.kt
Outdated
Show resolved
Hide resolved
...B/src/jvmTest/kotlin/ch/tutteli/atrium/api/fluent/en_GB/samples/DateSubjectChangerSamples.kt
Outdated
Show resolved
Hide resolved
...GB/src/jvmTest/kotlin/ch/tutteli/atrium/api/infix/en_GB/samples/DateSubjectChangerSamples.kt
Outdated
Show resolved
Hide resolved
...GB/src/jvmTest/kotlin/ch/tutteli/atrium/api/infix/en_GB/samples/DateSubjectChangerSamples.kt
Outdated
Show resolved
Hide resolved
...GB/src/jvmTest/kotlin/ch/tutteli/atrium/api/infix/en_GB/samples/DateSubjectChangerSamples.kt
Outdated
Show resolved
Hide resolved
...GB/src/jvmTest/kotlin/ch/tutteli/atrium/api/infix/en_GB/samples/DateSubjectChangerSamples.kt
Outdated
Show resolved
Hide resolved
...rc/jvmMain/kotlin/ch/tutteli/atrium/specs/integration/DateAsLocalDateTimeExpectationsSpec.kt
Show resolved
Hide resolved
Co-authored-by: Robert Stoll <rstoll@tutteli.ch>
Co-authored-by: Robert Stoll <rstoll@tutteli.ch>
Co-authored-by: Robert Stoll <rstoll@tutteli.ch>
Co-authored-by: Robert Stoll <rstoll@tutteli.ch>
Co-authored-by: Robert Stoll <rstoll@tutteli.ch>
…d fixed code suggestions
I forgot to make the change to the asLocalDate so it uses the infix notation will do it tomorrow |
...B/src/jvmTest/kotlin/ch/tutteli/atrium/api/fluent/en_GB/samples/DateSubjectChangerSamples.kt
Outdated
Show resolved
Hide resolved
...B/src/jvmTest/kotlin/ch/tutteli/atrium/api/fluent/en_GB/samples/DateSubjectChangerSamples.kt
Outdated
Show resolved
Hide resolved
...B/src/jvmTest/kotlin/ch/tutteli/atrium/api/fluent/en_GB/samples/DateSubjectChangerSamples.kt
Outdated
Show resolved
Hide resolved
Co-authored-by: Robert Stoll <rstoll@tutteli.ch>
Changed infix notation in DateSubjectChangerSamples.kt
@Jujusp thanks for you first contribution to Atrium 🙂 👍 I'll take over the remaining formatting issues and then merge into main. Don't forget to ⭐ Atrium if you liked it. |
Added asLocalDateTime to Date.util
I confirm that I have read the Contributor Agreements v1.0, agree to be bound on them and confirm that my contribution is compliant.