Skip to content

Changed java.util.Date to java.time.LocalDateTime in docs. #1

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

Merged
merged 1 commit into from
Mar 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions spring-batch-docs/src/main/asciidoc/domain.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,11 @@ and persisted, as the following table shows:
successfully, it is `BatchStatus#COMPLETED`

|`startTime`
|A `java.util.Date` representing the current system time when the execution was started.
|A `java.time.LocalDateTime` representing the current system time when the execution was started.
This field is empty if the job has yet to start.

|`endTime`
|A `java.util.Date` representing the current system time when the execution finished,
|A `java.time.LocalDateTime` representing the current system time when the execution finished,
regardless of whether or not it was successful. The field is empty if the job has yet to
finish.

Expand All @@ -225,13 +225,13 @@ contains an exit code that is returned to the caller. See chapter 5 for more det
field is empty if the job has yet to finish.

|`createTime`
|A `java.util.Date` representing the current system time when the `JobExecution` was
|A `java.time.LocalDateTime` representing the current system time when the `JobExecution` was
first persisted. The job may not have been started yet (and thus has no start time), but
it always has a `createTime`, which is required by the framework for managing job-level
`ExecutionContexts`.

|`lastUpdated`
|A `java.util.Date` representing the last time a `JobExecution` was persisted. This field
|A `java.time.LocalDateTime` representing the last time a `JobExecution` was persisted. This field
is empty if the job has yet to start.

|`executionContext`
Expand Down Expand Up @@ -390,12 +390,12 @@ status is `BatchStatus.STARTED`. If it fails, the status is `BatchStatus.FAILED`
finishes successfully, the status is `BatchStatus.COMPLETED`.

|`startTime`
|A `java.util.Date` representing the current system time when the execution was started.
|A `java.time.LocalDateTime` representing the current system time when the execution was started.
This field is empty if the step has yet to start.

|`endTime`

|A `java.util.Date` representing the current system time when the execution finished,
|A `java.time.LocalDateTime` representing the current system time when the execution finished,
regardless of whether or not it was successful. This field is empty if the step has yet to
exit.

Expand Down