mirror of
https://github.com/boostorg/date_time.git
synced 2026-01-28 07:02:19 +00:00
109 lines
3.4 KiB
HTML
109 lines
3.4 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
|
<title>Overall Design Goals</title>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
</head>
|
|
|
|
<body>
|
|
<a href="../../../index.htm">
|
|
<img align="left" src="../../../c++boost.gif" alt="C++ Boost">
|
|
</a>
|
|
|
|
<h1>Overall Design Goals</h1>
|
|
<p> <p>
|
|
<hr>
|
|
<a href="index.html">Overall Index</a> --
|
|
<a href="gregorian.html">Gregorian Index</a> --
|
|
<a href="posix_time.html">Posix Time Index</a>
|
|
<p>
|
|
|
|
<p>
|
|
<table border="1" width="95%" >
|
|
<tr><td>Category</td><td>Description</td><td>Functions</td></tr>
|
|
<tr><td>Interfaces</td>
|
|
<td>Provide concrete classes for manipulation of dates and times</td>
|
|
<td>
|
|
<ul>
|
|
<li>date, time, date_duration, time_duration, date_period, time_period, etc
|
|
<li>support for infinity - positive infinity, negative infinity
|
|
<li>iterators over time and date ranges
|
|
<li>allow date and time implemenations to be separate as much as possible
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Calculation</td>
|
|
<td>Provide a basis for performing efficient time calculations </td>
|
|
<td>
|
|
<ul>
|
|
<li>days between dates
|
|
<li>durations of times
|
|
<li>durations of dates and times together
|
|
</ul>
|
|
</td></tr>
|
|
<tr><td>Representation Flexibility</td>
|
|
<td>Provide the maximum possible reusability and flexibility</td>
|
|
<td>
|
|
<ul>
|
|
<li>traits based customization of internal
|
|
representations for size versus resolution control
|
|
<li>Allowing the use of different epochs and resolution
|
|
(eg: seconds versus microseconds, dates starting at the
|
|
year 2000 versus dates starting in 1700)
|
|
<li>Options for configuring unique calendar
|
|
representations (Gregorian + others)
|
|
<li> the use of Julian Day number and the conversion between this and the Gregorian/Julian calendar date
|
|
<li>Allow for flexible adjustments including
|
|
leap seconds
|
|
</ul>
|
|
<tr><td>Date Calculations</td>
|
|
<td>Provide tools for date calculations</td>
|
|
<td>
|
|
<ul>
|
|
<li>provide basis for calculation of complex event specs like holidays
|
|
<li>calendar to calendar conversions
|
|
<li>provide for ability to extend to new calendar systems
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td>Time Calculations</td>
|
|
<td>Provide concrete classes for manipulation of time</td>
|
|
<td>
|
|
<ul>
|
|
<li>provide the ability to handle cross time-zone issues
|
|
<li>provide adjustments for daylight savings time (summer time)
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td>Clock Interfaces</td>
|
|
<td>Provide classes for retrieving time current time</td>
|
|
<td>
|
|
<ul>
|
|
<li>access to a network / high resolution time sources
|
|
<li>retrieving the current date time information to populate classes
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr><td>I/O Interfaces</td>
|
|
<td>Provide input and output for time including</td>
|
|
<td>
|
|
<ul>
|
|
<li>multi-lingual support
|
|
<li>provide ISO8601 compliant time facet
|
|
<li>use I/O facets for different local behavior
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<hr>
|
|
<address><small>
|
|
<!-- hhmts start -->
|
|
Last modified: Wed Aug 21 15:42:19 MST 2002
|
|
<!-- hhmts end -->
|
|
by <a href="mailto:jeff@crystalclearsoftware.com">Jeff Garland</a> © 2000-2002
|
|
</small></address>
|
|
</body>
|
|
</html>
|
|
|