View Source ExSDP.Timezone.Correction (ExSDP v1.0.0)

This module represents a single SDP Timezone Correction used for translating base time for rebroadcasts.

For more details please see RFC4566 Section 5.11

Summary

Types

@type t() :: %ExSDP.Timezone.Correction{
  adjustment_time: non_neg_integer(),
  offset: -12..12
}

Functions

@spec parse(binary()) :: {:ok, t()} | {:error, :invalid_timezone}