View Source ExSDP.Timezone.Correction (ExSDP v0.10.1)

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

For more details please see RFC4566 Section 5.11

Link to this section Summary

Link to this section Types

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

Link to this section Functions

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