-
Notifications
You must be signed in to change notification settings - Fork 643
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
Add documentation to Date matchers #420
Merged
sksamuel
merged 14 commits into
kotest:master
from
LeoColman:kerooker/date-matchers-documentation
Oct 3, 2018
Merged
Add documentation to Date matchers #420
sksamuel
merged 14 commits into
kotest:master
from
LeoColman:kerooker/date-matchers-documentation
Oct 3, 2018
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Work in progress for #410, this commit adds the first documentation as an example to be followed for the other methods.
This is a Work in Progress. DO NOT MERGE YET Some Date Matchers are missing documentation. This commit adds some documentation, for the Year matching of LocalDate, LocalDateTime, OffsetDateTime and ZonedDateTime Solves #410
This is a Work in Progress. DO NOT MERGE YET Some Date Matchers are missing documentation. This commit adds some documentation, for the Month matching of LocalDate, LocalDateTime, OffsetDateTime and ZonedDateTime Solves #410
This is a Work in Progress. DO NOT MERGE YET Some Date Matchers are missing documentation. This commit adds some documentation, for the Day matching of LocalDate, LocalDateTime, OffsetDateTime and ZonedDateTime Solves #410
This is a Work in Progress. DO NOT MERGE YET Some Date Matchers are missing documentation. This commit adds some documentation, for the "is Before" matching of LocalDate, LocalDateTime, OffsetDateTime and ZonedDateTime Solves #410
As discussed in this pull request, Dokka's samples, although pretty, won't work currently and will create some maintenance overhead. To fix these potential issue, this commit removes Dokka's sample and adds them directly to the documentation. Handles #410, but still a work in progress.
This is a Work in Progress. DO NOT MERGE YET Some Date Matchers are missing documentation. This commit adds some documentation, for the "is After" matching of LocalDate, LocalDateTime, OffsetDateTime and ZonedDateTime Solves #410
This is a Work in Progress. DO NOT MERGE YET Some Date Matchers are missing documentation. This commit adds some documentation, for the "is within" matching of LocalDate, LocalDateTime, OffsetDateTime and ZonedDateTime Solves #410
Jetbrains Kotlin Code Style Guide states that comments should have a space between // and the actual comment. This commit fixes that. More information can be found in https://kotlinlang.org/docs/reference/coding-conventions.html#formatting "Put a space after //: // This is a comment" This is the final commit that handles #410
Small bugfix in the documentation, in which there was a reference to LocalDateTime where it should be ZonedDateTime. Handles #410
Small bugfix in the documentation, in which there was a reference to an inexistent sample where it should be OffsetDateTime. Handles #410
Small bugfix in the documentation, in which there was a reference to OffsetDateTime where it should be LocalDate. Handles #410
Small bugfix in the documentation, in which there was a reference to LocalDate where it should be LocalDateTime. Handles #410
I will get to reviewing this over the next few days. |
Comprehensive and well written 👍 |
17 tasks
sksamuel
pushed a commit
that referenced
this pull request
Dec 4, 2018
* Adds documentation for LocalDate.shouldHaveSameYearAs matcher Work in progress for #410, this commit adds the first documentation as an example to be followed for the other methods. * WIP: Adds documentation to Date's Year comparison This is a Work in Progress. DO NOT MERGE YET Some Date Matchers are missing documentation. This commit adds some documentation, for the Year matching of LocalDate, LocalDateTime, OffsetDateTime and ZonedDateTime Solves #410 * WIP: Adds documentation to Date's Month comparison This is a Work in Progress. DO NOT MERGE YET Some Date Matchers are missing documentation. This commit adds some documentation, for the Month matching of LocalDate, LocalDateTime, OffsetDateTime and ZonedDateTime Solves #410 * WIP: Adds documentation to Date's Day comparison This is a Work in Progress. DO NOT MERGE YET Some Date Matchers are missing documentation. This commit adds some documentation, for the Day matching of LocalDate, LocalDateTime, OffsetDateTime and ZonedDateTime Solves #410 * WIP: Adds documentation to Date's before comparison This is a Work in Progress. DO NOT MERGE YET Some Date Matchers are missing documentation. This commit adds some documentation, for the "is Before" matching of LocalDate, LocalDateTime, OffsetDateTime and ZonedDateTime Solves #410 * WIP: Updates documentation to remove samples As discussed in this pull request, Dokka's samples, although pretty, won't work currently and will create some maintenance overhead. To fix these potential issue, this commit removes Dokka's sample and adds them directly to the documentation. Handles #410, but still a work in progress. * WIP: Adds documentation to Date's after comparison This is a Work in Progress. DO NOT MERGE YET Some Date Matchers are missing documentation. This commit adds some documentation, for the "is After" matching of LocalDate, LocalDateTime, OffsetDateTime and ZonedDateTime Solves #410 * WIP: Adds documentation to Date's within comparison This is a Work in Progress. DO NOT MERGE YET Some Date Matchers are missing documentation. This commit adds some documentation, for the "is within" matching of LocalDate, LocalDateTime, OffsetDateTime and ZonedDateTime Solves #410 * Formats comments to match Kotlin code style Jetbrains Kotlin Code Style Guide states that comments should have a space between // and the actual comment. This commit fixes that. More information can be found in https://kotlinlang.org/docs/reference/coding-conventions.html#formatting "Put a space after //: // This is a comment" This is the final commit that handles #410 * Fixes wrong LocalDateTime reference instead of ZonedDateTime Small bugfix in the documentation, in which there was a reference to LocalDateTime where it should be ZonedDateTime. Handles #410 * Fixes wrong samples reference instead of OffsetDateTime Small bugfix in the documentation, in which there was a reference to an inexistent sample where it should be OffsetDateTime. Handles #410 * Fixes wrong OffsetDateTime reference instead of LocalDate Small bugfix in the documentation, in which there was a reference to OffsetDateTime where it should be LocalDate. Handles #410 * Fixes wrong LocalDate reference instead of LocalDateTime Small bugfix in the documentation, in which there was a reference to LocalDate where it should be LocalDateTime. Handles #410 * Fixes type OffsetDateTimes instead of OffsetDateTime Handles #410
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Solves #410