Skip to content

Commit

Permalink
use offsetdatetime
Browse files Browse the repository at this point in the history
  • Loading branch information
chillleader committed Nov 8, 2024
1 parent cbe28a4 commit f3db1d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import io.camunda.zeebe.client.api.response.DocumentMetadata;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.time.ZonedDateTime;
import java.time.OffsetDateTime;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
Expand Down Expand Up @@ -50,7 +50,7 @@ public String getContentType() {
}

@Override
public ZonedDateTime getExpiresAt() {
public OffsetDateTime getExpiresAt() {
return null;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import io.camunda.document.operation.DocumentOperation;
import io.camunda.document.reference.DocumentReference;
import io.camunda.zeebe.client.api.response.DocumentMetadata;
import java.time.ZonedDateTime;
import java.time.OffsetDateTime;
import java.util.Map;
import java.util.Optional;

Expand Down Expand Up @@ -57,7 +57,7 @@ public sealed interface DocumentReferenceModel extends DocumentReference {
@JsonInclude(Include.NON_EMPTY)
record CamundaDocumentMetadataModel(
String contentType,
ZonedDateTime expiresAt,
OffsetDateTime expiresAt,
Long size,
String fileName,
Map<String, Object> customProperties)
Expand All @@ -78,7 +78,7 @@ public String getContentType() {
}

@Override
public ZonedDateTime getExpiresAt() {
public OffsetDateTime getExpiresAt() {
return expiresAt;
}

Expand Down

0 comments on commit f3db1d8

Please sign in to comment.