Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated copyright and author information

  • Loading branch information...
commit 4c4e8d69426e43d1f842c509e5e81af203c494d4 1 parent 130cbb7
@dlowe-net authored
View
2  COPYING
@@ -1,4 +1,4 @@
-local-time Copyright (c) 2005-2008 by Daniel Lowe
+local-time Copyright (c) 2005-2012 by Daniel Lowe
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
View
2  CREDITS
@@ -14,4 +14,4 @@ and worthwhile project!
Apologies to anyone I didn't mention (please let me know).
Daniel Lowe
-<dlowe@bitmuse.com>
+<dlowe@dlowe.net>
View
94 doc/gendocs_template
@@ -20,26 +20,26 @@
<style>
/* CSS style taken from http://gnu.org/gnu.css */
-html, body {
- background-color: #FFFFFF;
+html, body {
+ background-color: #FFFFFF;
color: #000000;
font-family: sans-serif;
}
-a:link {
- color: #1f00ff;
+a:link {
+ color: #1f00ff;
background-color: transparent;
text-decoration: underline;
}
-a:visited {
- color: #9900dd;
+a:visited {
+ color: #9900dd;
background-color: transparent;
text-decoration: underline;
}
-a:hover {
- color: #9900dd;
+a:hover {
+ color: #9900dd;
background-color: transparent;
text-decoration: none;
}
@@ -48,8 +48,8 @@ a:hover {
text-align: center;
}
-.italic {
- font-style: italic;
+.italic {
+ font-style: italic;
}
.bold {
@@ -72,33 +72,33 @@ a:hover {
border-style: solid;
border-width: thin;
color: #3366cc;
- background-color : #f2f2f9;
- font-weight: bold;
+ background-color : #f2f2f9;
+ font-weight: bold;
}
.td_con {
- padding-top: 3px;
- padding-left: 8px;
- padding-bottom: 3px;
- color : #303030;
- background-color : #fefefe;
+ padding-top: 3px;
+ padding-left: 8px;
+ padding-bottom: 3px;
+ color : #303030;
+ background-color : #fefefe;
font-size: smaller;
}
.translations {
- background-color: transparent;
+ background-color: transparent;
color: black;
font-family: serif;
font-size: smaller;
}
.fsflink {
- font-size: smaller;
- font-family: monospace;
- color : #000000;
- border-left: #3366cc thin solid;
- border-bottom: #3366cc thin solid;
- padding-left: 5px;
+ font-size: smaller;
+ font-family: monospace;
+ color : #000000;
+ border-left: #3366cc thin solid;
+ border-bottom: #3366cc thin solid;
+ padding-left: 5px;
padding-bottom: 5px;
}
@@ -107,27 +107,27 @@ a:hover {
* arabic, etc. See also trans_rtl.
*/
.fsflink_rtl {
- font-size: smaller;
- font-family: monospace;
- color : #000000;
- border-right: #3366cc thin solid;
- border-bottom: #3366cc thin solid;
- padding-right: 5px;
+ font-size: smaller;
+ font-family: monospace;
+ color : #000000;
+ border-right: #3366cc thin solid;
+ border-bottom: #3366cc thin solid;
+ padding-right: 5px;
padding-bottom: 5px;
}
.trans {
- font-size: smaller;
- color : #000000;
- border-left: #3366cc thin solid;
- padding-left: 20px;
+ font-size: smaller;
+ color : #000000;
+ border-left: #3366cc thin solid;
+ padding-left: 20px;
}
.trans_rtl {
- font-size: smaller;
- color : #000000;
- border-right: #3366cc thin solid;
- padding-right: 20px;
+ font-size: smaller;
+ color : #000000;
+ border-right: #3366cc thin solid;
+ padding-right: 20px;
}
img {
@@ -136,7 +136,7 @@ img {
td.side {
color: #3366cc;
-/* background: #f2f2f9;
+/* background: #f2f2f9;
border-color: #3366cc;
border-style: solid;
border-width: thin; */
@@ -147,8 +147,8 @@ td.side {
}
div.copyright {
- font-size: 80%;
- border: 2px solid #3366cc;
+ font-size: 80%;
+ border: 2px solid #3366cc;
padding: 4px;
background: #f2f2f9;
border-style: solid;
@@ -156,7 +156,7 @@ div.copyright {
}
.footnoteref {
- font-size: smaller;
+ font-size: smaller;
vertical-align: text-top;
}
</style>
@@ -191,12 +191,12 @@ div.copyright {
<p>This document <!--(%%PACKAGE%%)--> is available in the following formats:</p>
<ul>
- <li><a href="%%PACKAGE%%.html">HTML
+ <li><a href="%%PACKAGE%%.html">HTML
(%%HTML_MONO_SIZE%%K characters)</a> - entirely on one web page.</li>
<li><a href="html_node/index.html">HTML</a> - with one web page per
node.</li>
<li><a href="%%PACKAGE%%.html.gz">HTML compressed
- (%%HTML_MONO_GZ_SIZE%%K gzipped characters)</a> - entirely on
+ (%%HTML_MONO_GZ_SIZE%%K gzipped characters)</a> - entirely on
one web page.</li>
<li><a href="%%PACKAGE%%.html_node.tar.gz">HTML compressed
(%%HTML_NODE_TGZ_SIZE%%K gzipped tar file)</a> -
@@ -227,9 +227,9 @@ Return to <a href="/project/local-time/">local-time's home page</a>.
<!--
<p>
-Please send FSF &amp; GNU inquiries to
+Please send FSF &amp; GNU inquiries to
<a href="mailto:gnu@gnu.org"><em>gnu@gnu.org</em></a>.
-There are also <a href="/home.html#ContactInfo">other ways to contact</a>
+There are also <a href="/home.html#ContactInfo">other ways to contact</a>
the FSF.
<br />
Please send broken links and other corrections (or suggestions) to
@@ -240,7 +240,7 @@ Please send broken links and other corrections (or suggestions) to
<p>
<!--
Copyright (C) 2008
-Daniel Lowe &lt;dlowe bitmuse.com&gt
+Daniel Lowe &lt;dlowe dlowe.net&gt
Attila Lendvai &lt;attila.lendvai gmail.com&gt;
<br />
Verbatim copying and distribution of this entire article is
View
4 doc/local-time.texinfo
@@ -60,8 +60,8 @@
@syncodeindex vr cp
@copying
-Copyright @copyright{} 2008 Daniel Lowe <dlowe bitmuse.com> @*
-Copyright @copyright{} 2008 Attila Lendvai <attila.lendvai gmail.com> @*
+Copyright @copyright{} 2012 Daniel Lowe <dlowe dlowe.net> @*
+Copyright @copyright{} 2012 Attila Lendvai <attila.lendvai gmail.com> @*
@quotation
This manual describes the @name{} Common Lisp library which is
View
10 local-time.asd
@@ -1,11 +1,13 @@
-(defsystem :local-time
+(defsystem #:local-time
:name "local-time"
:version "1.0.1"
- :author "Daniel Lowe <dlowe@bitmuse.com>"
+ :author "Daniel Lowe <dlowe@dlowe.net>"
:description "A library for manipulating dates and times, based on a paper by Erik Naggum"
+ :depends-on (:cl-fad)
+ :serial t
:components ((:module "src"
- :components ((:file "local-time"))))
- :depends-on (:cl-fad))
+ :components ((:file "package")
+ (:file "local-time")))))
(defmethod perform ((op test-op) (system (eql (find-system :local-time))))
(asdf:load-system :local-time.test)
View
2  local-time.test.asd
@@ -1,7 +1,7 @@
(defsystem :local-time.test
:name "local-time.test"
:version "1.0.0d"
- :author "Daniel Lowe <dlowe@bitmuse.com>"
+ :author "Daniel Lowe <dlowe@dlowe.net>"
:description "Testing code for the local-time library"
:depends-on (:hu.dwim.stefil+swank
:local-time)
View
119 src/local-time.lisp
@@ -1,121 +1,4 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;;;
-;;; LOCAL-TIME
-;;;
-;;; A package for manipulating times and dates.
-;;;
-;;; Based on Erik Naggum's "A Long, Painful History of Time" (1999)
-;;;
-;;; Authored by Daniel Lowe <dlowe@bitmuse.com>
-;;;
-;;; Copyright (c) 2005-2010 Daniel Lowe
-;;;
-;;; Permission is hereby granted, free of charge, to any person obtaining
-;;; a copy of this software and associated documentation files (the
-;;; "Software"), to deal in the Software without restriction, including
-;;; without limitation the rights to use, copy, modify, merge, publish,
-;;; distribute, sublicense, and/or sell copies of the Software, and to
-;;; permit persons to whom the Software is furnished to do so, subject to
-;;; the following conditions:
-;;;
-;;; The above copyright notice and this permission notice shall be
-;;; included in all copies or substantial portions of the Software.
-;;;
-;;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-;;; EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-;;; MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-;;; NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-;;; LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-;;; OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-;;; WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-;;;
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
-
-(defpackage :local-time
- (:use #:cl)
- (:export #:timestamp
- #:date
- #:time-of-day
- #:make-timestamp
- #:day-of
- #:sec-of
- #:nsec-of
- #:timestamp<
- #:timestamp<=
- #:timestamp>
- #:timestamp>=
- #:timestamp=
- #:timestamp/=
- #:timestamp-maximum
- #:timestamp-minimum
- #:adjust-timestamp
- #:adjust-timestamp!
- #:timestamp-whole-year-difference
- #:days-in-month
- #:timestamp-
- #:timestamp+
- #:timestamp-difference
- #:timestamp-minimize-part
- #:timestamp-maximize-part
- #:with-decoded-timestamp
- #:decode-timestamp
- #:timestamp-century
- #:timestamp-day
- #:timestamp-day-of-week
- #:timestamp-decade
- #:timestamp-hour
- #:timestamp-microsecond
- #:timestamp-millennium
- #:timestamp-millisecond
- #:timestamp-minute
- #:timestamp-month
- #:timestamp-second
- #:timestamp-week
- #:timestamp-year
- #:parse-timestring
- #:format-timestring
- #:format-rfc1123-timestring
- #:to-rfc1123-timestring
- #:format-rfc3339-timestring
- #:to-rfc3339-timestring
- #:encode-timestamp
- #:parse-rfc3339-timestring
- #:universal-to-timestamp
- #:timestamp-to-universal
- #:unix-to-timestamp
- #:timestamp-to-unix
- #:timestamp-subtimezone
- #:define-timezone
- #:*default-timezone*
- #:find-timezone-by-location-name
- #:now
- #:today
- #:enable-read-macros
- #:+utc-zone+
- #:+gmt-zone+
- #:+month-names+
- #:+short-month-names+
- #:+day-names+
- #:+short-day-names+
- #:+seconds-per-day+
- #:+seconds-per-hour+
- #:+seconds-per-minute+
- #:+minutes-per-day+
- #:+minutes-per-hour+
- #:+hours-per-day+
- #:+days-per-week+
- #:+months-per-year+
- #:+iso-8601-format+
- #:+rfc3339-format+
- #:+rfc3339-format/date-only+
- #:+asctime-format+
- #:+rfc-1123-format+
- #:astronomical-julian-date
- #:modified-julian-date
- #:astronomical-modified-julian-date))
-
-(in-package :local-time)
+(in-package #:local-time)
;;; Types
View
82 src/package.lisp
@@ -0,0 +1,82 @@
+(defpackage #:local-time
+ (:use #:cl)
+ (:export #:timestamp
+ #:date
+ #:time-of-day
+ #:make-timestamp
+ #:day-of
+ #:sec-of
+ #:nsec-of
+ #:timestamp<
+ #:timestamp<=
+ #:timestamp>
+ #:timestamp>=
+ #:timestamp=
+ #:timestamp/=
+ #:timestamp-maximum
+ #:timestamp-minimum
+ #:adjust-timestamp
+ #:adjust-timestamp!
+ #:timestamp-whole-year-difference
+ #:days-in-month
+ #:timestamp-
+ #:timestamp+
+ #:timestamp-difference
+ #:timestamp-minimize-part
+ #:timestamp-maximize-part
+ #:with-decoded-timestamp
+ #:decode-timestamp
+ #:timestamp-century
+ #:timestamp-day
+ #:timestamp-day-of-week
+ #:timestamp-decade
+ #:timestamp-hour
+ #:timestamp-microsecond
+ #:timestamp-millennium
+ #:timestamp-millisecond
+ #:timestamp-minute
+ #:timestamp-month
+ #:timestamp-second
+ #:timestamp-week
+ #:timestamp-year
+ #:parse-timestring
+ #:format-timestring
+ #:format-rfc1123-timestring
+ #:to-rfc1123-timestring
+ #:format-rfc3339-timestring
+ #:to-rfc3339-timestring
+ #:encode-timestamp
+ #:parse-rfc3339-timestring
+ #:universal-to-timestamp
+ #:timestamp-to-universal
+ #:unix-to-timestamp
+ #:timestamp-to-unix
+ #:timestamp-subtimezone
+ #:define-timezone
+ #:*default-timezone*
+ #:find-timezone-by-location-name
+ #:now
+ #:today
+ #:enable-read-macros
+ #:+utc-zone+
+ #:+gmt-zone+
+ #:+month-names+
+ #:+short-month-names+
+ #:+day-names+
+ #:+short-day-names+
+ #:+seconds-per-day+
+ #:+seconds-per-hour+
+ #:+seconds-per-minute+
+ #:+minutes-per-day+
+ #:+minutes-per-hour+
+ #:+hours-per-day+
+ #:+days-per-week+
+ #:+months-per-year+
+ #:+iso-8601-format+
+ #:+rfc3339-format+
+ #:+rfc3339-format/date-only+
+ #:+asctime-format+
+ #:+rfc-1123-format+
+ #:astronomical-julian-date
+ #:modified-julian-date
+ #:astronomical-modified-julian-date))
Please sign in to comment.
Something went wrong with that request. Please try again.