utcoffset

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package utcoffset resolves a stable standard-time UTC offset for an IANA zone.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StandardOffset

func StandardOffset(zone string, lon float64) int16

StandardOffset returns minutes east of UTC for standard time (not DST). Unknown zone names fall back to round(lon/15)*60.

Types

This section is empty.

Jump to

Keyboard shortcuts

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