This is an automated email from the ASF dual-hosted git repository. chaokunyang pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/fory-site.git
commit 9d7e576b3c5e8c3b0991b6c8cbd78d7621e6f40c Author: chaokunyang <[email protected]> AuthorDate: Mon Jun 29 07:08:00 2026 +0000 🔄 synced local 'docs/compiler/' with remote 'docs/compiler/' --- docs/compiler/schema-idl.md | 52 ++++++++++++++++++++++----------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/docs/compiler/schema-idl.md b/docs/compiler/schema-idl.md index 633b90f1e0..c121352030 100644 --- a/docs/compiler/schema-idl.md +++ b/docs/compiler/schema-idl.md @@ -1311,38 +1311,38 @@ Underscore spellings for integer encoding are not FDL type names. ##### Date -| Language | Type | Notes | -| --------------------- | --------------------------- | --------------------------------------------------------------------------- | -| Java | `java.time.LocalDate` | | -| Python | `datetime.date` | | -| Go | `time.Time` | Time portion ignored | -| Rust | `fory::Date` | Set `rust_use_chrono_temporal_types = true` to generate `chrono::NaiveDate` | -| C++ | `fory::serialization::Date` | | -| JavaScript/TypeScript | `Date` | | -| Dart | `LocalDate` | Fory package type | +| Language | Type | Notes | +| --------------------- | --------------------- | --------------------------------------------------------------------------- | +| Java | `java.time.LocalDate` | | +| Python | `datetime.date` | | +| Go | `time.Time` | Time portion ignored | +| Rust | `fory::Date` | Set `rust_use_chrono_temporal_types = true` to generate `chrono::NaiveDate` | +| C++ | `fory::Date` | | +| JavaScript/TypeScript | `Date` | | +| Dart | `LocalDate` | Fory package type | ##### Timestamp -| Language | Type | Notes | -| --------------------- | -------------------------------- | ------------------------------------------------------------------------------- | -| Java | `java.time.Instant` | UTC-based | -| Python | `datetime.datetime` | | -| Go | `time.Time` | | -| Rust | `fory::Timestamp` | Set `rust_use_chrono_temporal_types = true` to generate `chrono::NaiveDateTime` | -| C++ | `fory::serialization::Timestamp` | | -| JavaScript/TypeScript | `Date` | | -| Dart | `Timestamp` | Fory package type | +| Language | Type | Notes | +| --------------------- | ------------------- | ------------------------------------------------------------------------------- | +| Java | `java.time.Instant` | UTC-based | +| Python | `datetime.datetime` | | +| Go | `time.Time` | | +| Rust | `fory::Timestamp` | Set `rust_use_chrono_temporal_types = true` to generate `chrono::NaiveDateTime` | +| C++ | `fory::Timestamp` | | +| JavaScript/TypeScript | `Date` | | +| Dart | `Timestamp` | Fory package type | ##### Duration -| Language | Type | Notes | -| -------- | ------------------------------- | -------------------------------------------------------------------------- | -| Java | `java.time.Duration` | | -| Python | `datetime.timedelta` | | -| Go | `time.Duration` | | -| Rust | `fory::Duration` | Set `rust_use_chrono_temporal_types = true` to generate `chrono::Duration` | -| C++ | `fory::serialization::Duration` | | -| Dart | `Duration` | | +| Language | Type | Notes | +| -------- | -------------------- | -------------------------------------------------------------------------- | +| Java | `java.time.Duration` | | +| Python | `datetime.timedelta` | | +| Go | `time.Duration` | | +| Rust | `fory::Duration` | Set `rust_use_chrono_temporal_types = true` to generate `chrono::Duration` | +| C++ | `fory::Duration` | | +| Dart | `Duration` | | #### Any --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
