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