Skip to content

Commit 645f8ae

Browse files
Fivellclaude
andcommitted
Simplify date/datetime README section: replace class list with generic rule
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent ceacdfc commit 645f8ae

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -579,11 +579,8 @@ try {
579579
The SDK distinguishes between date-only and datetime fields:
580580

581581
- **Datetime fields** — deserialized as `OffsetDateTime`:
582-
- `Did.getCreatedAt()`, `Did.getExpiresAt()`
583-
- `EncryptedFile.getExpireAt()` (no `created_at` on this resource)
584-
- `DidReservation.getCreatedAt()`, `DidReservation.getExpireAt()`
585-
- `Proof.getCreatedAt()`, `Proof.getExpiresAt()`
586-
- `Order.getCreatedAt()`, `Identity.getCreatedAt()`, `Address.getCreatedAt()`, `VoiceInTrunk.getCreatedAt()`, `VoiceInTrunkGroup.getCreatedAt()`, `VoiceOutTrunk.getCreatedAt()`, `SharedCapacityGroup.getCreatedAt()`, `Export.getCreatedAt()`, `AddressVerification.getCreatedAt()`, `PermanentSupportingDocument.getCreatedAt()`
582+
- All `getCreatedAt()` methods — present on most resources (`EncryptedFile` has no `created_at`)
583+
- Expiry fields: `Did.getExpiresAt()`, `DidReservation.getExpireAt()`, `Proof.getExpiresAt()`, `EncryptedFile.getExpireAt()`
587584
- **Date-only fields** — deserialized as `LocalDate`:
588585
- `Identity.getBirthDate()`
589586
- **Date-only fields kept as strings** (`CapacityPool.getRenewDate()`, `DidOrderItem.getBilledFrom()`, `DidOrderItem.getBilledTo()`) — remain as `String`.

0 commit comments

Comments
 (0)