Skip to main content

6. References (参考文献)

Normative References (规范性参考文献)

[ABNF]
Crocker, D. and P. Overell, "Augmented BNF for Syntax Specifications: ABNF", RFC 2234, November 1997.

[ISO8601]
"Data elements and interchange formats -- Information interchange -- Representation of dates and times", ISO 8601:1988(E), International Organization for Standardization, June 1988.

注意: ISO 8601:1988 已被 ISO 8601:2000 更新, 后者又被 ISO 8601:2004 更新。RFC 3339 基于 1988 版本。

[RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.

Informative References (信息性参考文献)

[IMAIL]
Crocker, D., "Standard for the Format of Arpa Internet Text Messages", STD 11, RFC 822, August 1982.

[IMAIL-UPDATE]
Resnick, P., "Internet Message Format", RFC 2822, April 2001.

[HOST-REQ]
Braden, R., "Requirements for Internet Hosts -- Application and Support", STD 3, RFC 1123, October 1989.

[NTP]
Mills, D., "Network Time Protocol (Version 3) Specification, Implementation and Analysis", RFC 1305, March 1992.

[ITU-R-TF]
"Standard-frequency and time-signal emissions", ITU-R Recommendation TF.460-4, 1986.

[UNICODE]
The Unicode Consortium, "The Unicode Standard", Version 3.0, Reading, MA, Addison-Wesley, 2000, ISBN 0-201-61633-5.


Predecessor Documents (前身文档)

  • RFC 822 - 电子邮件格式 (ARPA 互联网文本消息格式标准)
  • RFC 2822 - 互联网消息格式 (更新 RFC 822)
  • RFC 2234 - ABNF 语法规范
  • RFC 2119 - RFC 关键词定义
  • RFC 1305 - 网络时间协议 (NTP)

Subsequent Updates (后续更新)

  • RFC 4287 - Atom 联合格式 (使用 RFC 3339 时间戳)
  • RFC 7493 - I-JSON 消息格式 (推荐 RFC 3339)
  • RFC 8259 - JSON 数据交换格式 (推荐将 RFC 3339 用于日期-时间)

External Standards (外部标准)

ISO 8601 系列

  • ISO 8601:1988 - 本 RFC 基于的版本
  • ISO 8601:2000 - 第一次修订
  • ISO 8601:2004 - 第二次修订
  • ISO 8601-1:2019 - 最新版本, 第 1 部分: 基本规则
  • ISO 8601-2:2019 - 最新版本, 第 2 部分: 扩展
  • IETF BCP 14 - 最佳当前实践, 由 RFC 2119 和 RFC 8174 组成
  • W3C Date and Time Formats - 基于 ISO 8601 和 RFC 3339
  • ECMA-262 - JavaScript 日期时间字符串格式 (基于简化的 ISO 8601)

Practical Applications (实际应用)

RFC 3339 格式广泛用于:

Internet Protocols (互联网协议):

  • HTTP Date 头 (尽管 HTTP 使用 RFC 7231 中定义的不同格式)
  • Atom/RSS Feed 时间戳
  • JSON API 时间戳
  • XML Schema dateTime 类型

Programming Languages (编程语言):

  • JavaScript Date.toISOString()
  • Python datetime.isoformat()
  • Java Instant.toString()
  • Go time.RFC3339

Databases (数据库):

  • PostgreSQL TIMESTAMPTZ
  • MongoDB ISODate
  • MySQL TIMESTAMP with timezone

注意: 虽然 RFC 3339 基于 ISO 8601:1988, 但它是 ISO 8601 的配置文件 (子集), 而不是完整实现。RFC 3339 更加严格和简化, 以确保互联网协议中的互操作性。