timezone

package
v2.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package timezone provides helpers to work with timezone.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DescriptiveName

func DescriptiveName(tz string) string

DescriptiveName returns the descriptive timezone, or empty if the timezone does not exist.

func HasTimezone added in v2.2.0

func HasTimezone(tz string) bool

HasTimezone returns true if tz in timezones. Note: timezones might be a complete list of all available timezones.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL