]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/tzcode/zic/zdump.8
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / tzcode / zic / zdump.8
1 .\"
2 .\"     @(#)zdump.8     8.2
3 .\" This file is in the public domain, so clarified as of
4 .\" 2009-05-17 by Arthur David Olson.
5 .\" $FreeBSD$
6 .\"
7 .Dd June 20, 2004
8 .Dt ZDUMP 8
9 .Os
10 .Sh NAME
11 .Nm zdump
12 .Nd timezone dumper
13 .Sh SYNOPSIS
14 .Nm
15 .Op Fl -version
16 .Op Fl v
17 .Op Fl c Ar [loyear,]hiyear
18 .Op Ar zonename ...
19 .Sh DESCRIPTION
20 The
21 .Nm
22 utility prints the current time in each
23 .Ar zonename
24 named on the command line.
25 .Pp
26 The following options are available:
27 .Bl -tag -width indent
28 .It Fl -version
29 Output version information and exit.
30 .It Fl v
31 For each
32 .Ar zonename
33 on the command line,
34 print the time at the lowest possible time value,
35 the time one day after the lowest possible time value,
36 the times both one second before and exactly at
37 each detected time discontinuity,
38 the time at one day less than the highest possible time value,
39 and the time at the highest possible time value,
40 Each line ends with
41 .Em isdst=1
42 if the given time is Daylight Saving Time or
43 .Em isdst=0
44 otherwise.
45 .It Fl c Ar loyear,hiyear
46 Cut off verbose output near the start of the given year(s).
47 By default,
48 the program cuts off verbose output near the starts of the years -500 and 2500.
49 .El
50 .Sh LIMITATIONS
51 The
52 .Fl v
53 option may not be used on systems with floating-point time_t values
54 that are neither float nor double.
55 .Pp
56 Time discontinuities are found by sampling the results returned by localtime
57 at twelve-hour intervals.
58 This works in all real-world cases;
59 one can construct artificial time zones for which this fails.
60 .Sh "SEE ALSO"
61 .Xr ctime 3 ,
62 .Xr tzfile 5 ,
63 .Xr zic 8