<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<div class="moz-cite-prefix">On 1/31/19 10:04 AM,
<a class="moz-txt-link-abbreviated" href="mailto:Paul.Koning@dell.com">Paul.Koning@dell.com</a> wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1E9A0D3B-BAC5-4A08-AB90-6369603C2B64@dell.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Jan 31, 2019, at 7:18 AM, Christopher Wong
<<a href="mailto:christopher.wong@axis.com" class=""
moz-do-not-send="true">christopher.wong@axis.com</a>>
wrote:</div>
<div class="">
<div style="caret-color: rgb(0, 0, 0); font-family: Calibri,
Arial, Helvetica, sans-serif; font-size: 16px; font-style:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; text-align: start; text-indent:
0px; text-transform: none; white-space: normal;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration:
none;" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><font
class="" color="#CE1126"><br class="">
</font></div>
</div>
<div style="margin-top: 0px; margin-bottom: 0px;
caret-color: rgb(0, 0, 0); font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 16px; font-style:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; text-align: start; text-indent:
0px; text-transform: none; white-space: normal;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration:
none;" class="">
Hi,<br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;
caret-color: rgb(0, 0, 0); font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 16px; font-style:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; text-align: start; text-indent:
0px; text-transform: none; white-space: normal;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration:
none;" class="">
<br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;
caret-color: rgb(0, 0, 0); font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 16px; font-style:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; text-align: start; text-indent:
0px; text-transform: none; white-space: normal;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration:
none;" class="">
I think the tzdb is very good with its history. However, I
would like to minimize the size and has been looking into
how to achieve that.<br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;
caret-color: rgb(0, 0, 0); font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 16px; font-style:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; text-align: start; text-indent:
0px; text-transform: none; white-space: normal;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration:
none;" class="">
<br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;
caret-color: rgb(0, 0, 0); font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 16px; font-style:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; text-align: start; text-indent:
0px; text-transform: none; white-space: normal;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration:
none;" class="">
Will it be of any interest with an option in zic to
include only data from a certain year onward?<br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;
caret-color: rgb(0, 0, 0); font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 16px; font-style:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; text-align: start; text-indent:
0px; text-transform: none; white-space: normal;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration:
none;" class="">
<br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;
caret-color: rgb(0, 0, 0); font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 16px; font-style:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; text-align: start; text-indent:
0px; text-transform: none; white-space: normal;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration:
none;" class="">
What is the best way?<br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;
caret-color: rgb(0, 0, 0); font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 16px; font-style:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; text-align: start; text-indent:
0px; text-transform: none; white-space: normal;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration:
none;" class="">
1. Remove the Rules and Zone entries not relevant for
that year onward during the parsing. Tried this, but ended
up with with some nasty warnings.<br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;
caret-color: rgb(0, 0, 0); font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 16px; font-style:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; text-align: start; text-indent:
0px; text-transform: none; white-space: normal;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration:
none;" class="">
2. Make changes in writezone-function. Trying this now,
but I am getting confused with types, omittype, typemap,
and so on.<br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;
caret-color: rgb(0, 0, 0); font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 16px; font-style:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; text-align: start; text-indent:
0px; text-transform: none; white-space: normal;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration:
none;" class="">
<br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;
caret-color: rgb(0, 0, 0); font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 16px; font-style:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; text-align: start; text-indent:
0px; text-transform: none; white-space: normal;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration:
none;" class="">
It would be good if someone that knows the code can give
me some hints if this is the right place to make such a
change.<br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;
caret-color: rgb(0, 0, 0); font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 16px; font-style:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; text-align: start; text-indent:
0px; text-transform: none; white-space: normal;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration:
none;" class="">
<br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;
caret-color: rgb(0, 0, 0); font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 16px; font-style:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; text-align: start; text-indent:
0px; text-transform: none; white-space: normal;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration:
none;" class="">
BR,<br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;
caret-color: rgb(0, 0, 0); font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 16px; font-style:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; text-align: start; text-indent:
0px; text-transform: none; white-space: normal;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration:
none;" class="">
Christopher Wong<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
<div class="">Yes, this is a very useful feature. I did it years
ago for an embedded system product. The right answer is 2 -- a
new command line switch in zic to specify the start year, and a
simple change in writezone to omit writing data for transitions
older than the start date. You have to be a bit careful to make
sure that the rule in effect AT the start date appears in the
output, i.e., not just transitions that are later than the start
date.</div>
</blockquote>
<p><br>
</p>
<p>To this point, truncation of TZif files is discussed here: <a
moz-do-not-send="true"
href="https://tools.ietf.org/html/draft-murchison-tzdist-tzif-16#section-5.1">https://tools.ietf.org/html/draft-murchison-tzdist-tzif-16#section-5.1</a></p>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
Ken Murchison
Cyrus Development Team
FastMail US LLC</pre>
</body>
</html>