Hi,

indeed, we are having a project for improving Type:Date based on Temlakos' 
input for historic dates and various extensions of our own. The goal is to 
have a single unified Date type that can handle historic dates, timezones, 
international input and output formats, calendar conversion, and possibly 
incompleteness (distinguishing "2001" from "2001-01-01T00:00" in *some* 
contexts). This will be approached step-by-step, starting with an 
internationalised input parser that goes beyond the UNIX era.

We may use something like AnyDateTime as a storage format, but probably not 
for sorting (so Dates will stay "numeric"). For most purposes, we would like 
to implement an idea of a totally ordered, "physical" time, i.e. every two 
input times should be comparable and correspond to real time points of the 
world. This excludes inputs like "May 1" which would describe an infinite 
number of recurring intervals that we are not prepared to handle. We will 
probably assume timezones to be given (explicit or implicit), not like in XML 
Schema where there are two incomparable types of time points: those with 
timezone information and those without. Implementing timezones requires some 
amount of calendar support to get collation right, e.g. to order "Mar 1 YYYY 
00:00 -12" as compared to "Feb 28 YYYY 23:59 +12" for any given year.

But Fabian will look at one thing at a time. Maybe he can comment on the 
current state of the input parser.

Supporting output formats for queries would be possible, though probably using 
some simpler, more internationalisable format than "%b %d". I could imagine 
that the user just specifies an "example date" that is used as a template for 
formatting dates. But this is yet another sub-task.

Regards,

Markus



On Mittwoch, 3. September 2008, Denny Vrandečić wrote:
> There's also a student of ours working on something close to it,
> although I am not totally informed about the status. Since I don't know
> if Fabian is on this list, I'll CC him.
>
> denny
>
> Daniel Friesen wrote:
> > I'm working on a DateTime library, AnyDateTime
> > <http://svn.nadir-point.com/viewvc/php-projects/trunk/AnyDateTime/>. The
> > plan is to have a library that can cover nearly any possible time or
> > date in history. The AnyDateTime library has a storage format which uses
> > 22 characters, and sorts correctly in the database.
> > The range of possible dates this library can cover is from
> > 99,999,999,999 00:00:00 B.C.E. to 999,999,999,999 23:59:59 C.E.
> > ^_^ So quite simply... it can cover dates all the way from before the
> > Big Bang, to beyond the time when our sun dies and our planet dies as
> > well, past the time the Milky Way and Andromeda galaxies are speculated
> > to collide, even past the time of the theorized Big Rip
> > <http://en.wikipedia.org/wiki/Big_Rip>. Though I admit, it can't cover
> > the Degenerate, Black Hole, or Dark eras (those are well into the
> > trillions).
> >
> > Quite simply, the idea is to be able to make use of it in Semantic
> > MediaWiki as an alternative date format. That way it's available for
> > anyone covering historical dates and such.
> >
> > --
> > ~Daniel Friesen (Dantman, Nadir-Seen-Fire)
> > ~Profile/Portfolio: http://nadir-seen-fire.com
> > -The Nadir-Point Group (http://nadir-point.com)
> > --It's Wiki-Tools subgroup (http://wiki-tools.com)
> > --The ElectronicMe project (http://electronic-me.org)
> > -Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG)
> > --Animepedia (http://anime.wikia.com)
> > --Narutopedia (http://naruto.wikia.com)
> >
> >
> > ------------------------------------------------------------------------
> >
> > -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge Build the coolest Linux based applications with Moblin SDK &
> > win great prizes Grand prize is a trip for two to an Open Source event
> > anywhere in the world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Semediawiki-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge Build the coolest Linux based applications with Moblin SDK & win
> great prizes Grand prize is a trip for two to an Open Source event anywhere
> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Semediawiki-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel



-- 
Markus Krötzsch
Semantic MediaWiki    http://semantic-mediawiki.org
http://korrekt.org    [EMAIL PROTECTED]

Attachment: signature.asc
Description: This is a digitally signed message part.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Semediawiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to