<commit_before>;;; -*- coding:utf-8 -*-
;;;;**************************************************************************
;;;;FILE:               date.lisp
;;;;LANGUAGE:           Common-Lisp
;;;;SYSTEM:             Common-Lisp
;;;;USER-INTERFACE:     NONE
;;;;DESCRIPTION
;;;;    
;;;;    Handle times and dates.
;;;;    
;;;;AUTHORS
;;;;    <PJB> <NAME> <<EMAIL>>
;;;;MODIFICATIONS
;;;;    2007-05-23 <PJB> Created.
;;;;BUGS
;;;;
;;;;    The current implementation uses Common Lisp universal-time
;;;;    and therefore inherits all the bugs of the CL universal-time
;;;;    specification.
;;;;
;;;;LEGAL
;;;;    GPL
;;;;    
;;;;    Copyright <NAME> 2007 - 2007
;;;;    
;;;;    This program is free software; you can redistribute it and/or
;;;;    modify it under the terms of the GNU General Public License
;;;;    as published by the Free Software Foundation; either version
;;;;    2 of the License, or (at your option) any later version.
;;;;    
;;;;    This program is distributed in the hope that it will be
;;;;    useful, but WITHOUT ANY WARRANTY; without even the implied
;;;;    warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
;;;;    PURPOSE.  See the GNU General Public License for more details.
;;;;    
;;;;    You should have received a copy of the GNU General Public
;;;;    License along with this program; if not, write to the Free
;;;;    Software Foundation, Inc., 59 Temple Place, Suite 330,
;;;;    Boston, MA 02111-1307 USA
;;;;**************************************************************************


;;; See also: http://emr.cs.uiuc.edu/~reingold/calendars.shtml

;; From: <NAME> <<EMAIL>>
;; Subject: Re: convert julian date to universal
;; Newsgroups: comp.lang.lisp
;; Date: Thu, 17 Jan 2008 03:50:07 -0800 (PST)
;; Organization: http://groups.google.com
;; Message-ID: <<EMAIL>>
;; 
;; > More likely the other way round (year month day).  The code can't<commit_msg>Added comment and URL.<commit_after>;;; -*- coding:utf-8 -*-
;;;;**************************************************************************
;;;;FILE:               date.lisp
;;;;LANGUAGE:           Common-Lisp
;;;;SYSTEM:             Common-Lisp
;;;;USER-INTERFACE:     NONE
;;;;DESCRIPTION
;;;;    
;;;;    Handle times and dates.
;;;;    
;;;;AUTHORS
;;;;    <PJB> <NAME> <<EMAIL>>
;;;;MODIFICATIONS
;;;;    2007-05-23 <PJB> Created.
;;;;BUGS
;;;;
;;;;    The current implementation uses Common Lisp universal-time
;;;;    and therefore inherits all the bugs of the CL universal-time
;;;;    specification.
;;;;
;;;;LEGAL
;;;;    GPL
;;;;    
;;;;    Copyright <NAME> 2007 - 2007
;;;;    
;;;;    This program is free software; you can redistribute it and/or
;;;;    modify it under the terms of the GNU General Public License
;;;;    as published by the Free Software Foundation; either version
;;;;    2 of the License, or (at your option) any later version.
;;;;    
;;;;    This program is distributed in the hope that it will be
;;;;    useful, but WITHOUT ANY WARRANTY; without even the implied
;;;;    warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
;;;;    PURPOSE.  See the GNU General Public License for more details.
;;;;    
;;;;    You should have received a copy of the GNU General Public
;;;;    License along with this program; if not, write to the Free
;;;;    Software Foundation, Inc., 59 Temple Place, Suite 330,
;;;;    Boston, MA 02111-1307 USA
;;;;**************************************************************************

;; http://en.wikipedia.org/wiki/Julian_day#Calculation
;; - find inverse of (julian-day-number/gregorian d m y) --> j
;; - check the origin of julian-day
;;     (com.informatimago.common-lisp.gregorian-calendar:date-from-day-number (- 733314 2454374)) 
;;     24 ;
;;     11 ;
;;     -4713
;; - check the historical names of the day (day starting from noon?,
;;   hebrew days starting from eve).

;;; See also: http://emr.cs.uiuc.edu/~reingold/calendars.shtml

;; From: <NAME> <<EMAIL>>
;; Subject: Re: convert julian date to universal
;; Newsgroups: comp.lang.lisp
;; Date: Thu, 17 Jan 2008 03:50:07 -0800 (PST)
;; Organization: http://groups.google.com
;; Message-ID: <<EMAIL>>
;; 
;; > More likely the other way round (year month day).  The code can't
{'fraction_non_alphanumeric': 0.21935024899217453, 'fraction_numerical': 0.02774484230495613, 'mean_word_length': 3.5550755939524836, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 28, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4413666', 'n_tokens_mistral': 1324, 'n_tokens_neox': 1134, 'n_words': 438}