mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2025-11-20 20:54:56 +00:00
It wasn't tested and probably never worked, no platform used it, and the latest POSIX no longer allows it. * Makefile (typecheck): Don't check time_t being 'double'. * Theory: Document the change. * difftime.c (difftime): * localtime.c (differ_by_repeat, tzload, timesub, time2sub): * private.h (time_t_min, time_t_max): * zdump.c (absolute_min_time, absolute_max_time, tformat): Don't try to support floating-point time_t. * localtime.c, private.h, zdump.c: Don't include float.h. * localtime.c (truncate_time, double_to_time): * private.h (TYPE_INTEGRAL): * zdump.c (checkabsolutes): Remove; no longer needed. All uses removed. * zdump.8 (LIMITATIONS): Remove discussion of floating-point time_t.
68 lines
1.7 KiB
Groff
68 lines
1.7 KiB
Groff
.TH ZDUMP 8
|
|
.SH NAME
|
|
zdump \- time zone dumper
|
|
.SH SYNOPSIS
|
|
.B zdump
|
|
[
|
|
.B \-\-version
|
|
] [
|
|
.B \-v
|
|
] [
|
|
.B \-V
|
|
] [
|
|
.B \-c
|
|
[loyear,]hiyear ] [
|
|
.B \-t
|
|
[lotime,]hitime ] [ zonename ... ]
|
|
.SH DESCRIPTION
|
|
.I Zdump
|
|
prints the current time in each
|
|
.I zonename
|
|
named on the command line.
|
|
.PP
|
|
These options are available:
|
|
.TP
|
|
.BI "\-\-version"
|
|
Output version information and exit.
|
|
.TP
|
|
.B \-v
|
|
For each
|
|
.I zonename
|
|
on the command line,
|
|
print the time at the lowest possible time value,
|
|
the time one day after the lowest possible time value,
|
|
the times both one second before and exactly at
|
|
each detected time discontinuity,
|
|
the time at one day less than the highest possible time value,
|
|
and the time at the highest possible time value,
|
|
Each line ends with
|
|
.B isdst=1
|
|
if the given time is Daylight Saving Time or
|
|
.B isdst=0
|
|
otherwise.
|
|
.TP
|
|
.B \-V
|
|
Like
|
|
.BR \-v ,
|
|
except omit the times relative to the extreme time values.
|
|
This generates output that is easier to compare to that of
|
|
implementations with different time representations.
|
|
.TP
|
|
.BI "\-c " [loyear,]hiyear
|
|
Cut off verbose output near the start of the given year(s).
|
|
By default,
|
|
the program cuts off verbose output near the starts of the years \-500 and 2500.
|
|
.TP
|
|
.BI "\-t " [lotime,]hitime
|
|
Cut off verbose output at the start of the given time(s),
|
|
given in decimal seconds since 1970-01-01 00:00:00 UTC.
|
|
.SH LIMITATIONS
|
|
Time discontinuities are found by sampling the results returned by localtime
|
|
at twelve-hour intervals.
|
|
This works in all real-world cases;
|
|
one can construct artificial time zones for which this fails.
|
|
.SH "SEE ALSO"
|
|
newctime(3), tzfile(5), zic(8)
|
|
.\" This file is in the public domain, so clarified as of
|
|
.\" 2009-05-17 by Arthur David Olson.
|