Table of Contents

Class JurisdictionHelper

Namespace
Geotab.Checkmate.ObjectModel.Jurisdictional
Assembly
Geotab.Checkmate.ObjectModel.dll

Jurisdiction related helpers.

public static class JurisdictionHelper
Inheritance
JurisdictionHelper
Inherited Members

Methods

IsCentralTimeZone(string)

If the provided Timezone is central.

public static bool IsCentralTimeZone(string timeZoneId)

Parameters

timeZoneId string

The Timezone.

Returns

bool

Boolean indicating the Timezone provided is a central Timezone.

IsEasternTimeZone(string)

If the provided Timezone is eastern.

public static bool IsEasternTimeZone(string timeZoneId)

Parameters

timeZoneId string

The Timezone.

Returns

bool

Boolean indicating the Timezone provided is a eastern Timezone.

IsMountainTimeZone(string)

If the provided Timezone is mountain time.

public static bool IsMountainTimeZone(string timeZoneId)

Parameters

timeZoneId string

The timeZoneId.

Returns

bool

Boolean indicating the Timezone provided is a mountain Timezone.

IsPacificTimeZone(string)

If the provided Timezone is pacific.

public static bool IsPacificTimeZone(string timeZoneId)

Parameters

timeZoneId string

The Timezone.

Returns

bool

Boolean indicating the Timezone provided is a pacific Timezone.

ParseFromEnum(Jurisdiction?)

Jurisdiction to it's string equivalent.

public static string ParseFromEnum(Jurisdiction? jurisdiction)

Parameters

jurisdiction Jurisdiction?

The jurisdiction.

Returns

string

The string equivalent.

ParseFromString(string?)

String jurisdiction as enumerated equivalent.

public static Jurisdiction ParseFromString(string? jurisdiction)

Parameters

jurisdiction string

The jurisdiction as a string.

Returns

Jurisdiction

The enumerated equivalent.

ServerLocationToJurisdiction(string?)

Identifies and returns the juristiction of the provided server location.

public static Jurisdiction ServerLocationToJurisdiction(string? location)

Parameters

location string

The server location.

Returns

Jurisdiction

The jurisdiction.