com.worxbend.kernel

Members list

Type members

Classlikes

object Rfc3339

RFC 3339 rendering, shared by the CloudEvents time attribute and the search permalink's time bounds.

RFC 3339 rendering, shared by the CloudEvents time attribute and the search permalink's time bounds.

OffsetDateTime.toString is not RFC 3339. It follows ISO 8601, which makes the seconds field optional, so 17:31:00Z renders as 17:31Z — a string RFC 3339 forbids and that stricter CloudEvents implementations reject. The failure is invisible in a Scala-only round-trip (parsing accepts it back) and only surfaces at the boundary with another vendor's SDK, which is exactly the kind of bug a shared kernel exists to prevent.

The fractional second is emitted only when it is non-zero and is trimmed of trailing zeros, which is the one documented normalisation this codec performs: 17:31:00.000Z comes back as 17:31:00Z. The instant is unchanged.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Rfc3339.type