Linux SoftwareProgrammingLibrariesDateTime::Format::Epoch::JD 0.10

DateTime::Format::Epoch::JD 0.10


DateTime::Format::Epoch::JD is Perl module Convert DateTimes to/from Julian Days. SYNOPSIS use DateTime::Format::Epoch::JD;
Developer:   Eugene van der Pijll
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   16K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


DateTime::Format::Epoch::JD is Perl module Convert DateTimes to/from Julian Days.

SYNOPSIS

use DateTime::Format::Epoch::JD;

my $dt = DateTime::Format::Epoch::JD->parse_datetime( 2453244.5 );
# 2004-08-27T00:00:00
DateTime::Format::Epoch::JD->format_datetime($dt);
# 2453244.5

my $formatter = DateTime::Format::Epoch::JD->new();
my $dt2 = $formatter->parse_datetime( 2453244.5 );
# 2004-08-27T00:00:00
$formatter->format_datetime($dt2);
# 2453244.5

This module can convert a DateTime object (or any object that can be converted to a DateTime object) to the Julian Day number. This is the number of days since noon U.T.C. on January 1, 4713 B.C. (Julian calendar).

This time scale was originally proposed by John Herschel, and is often used in astronomical calculations.

Similar modules are:

DateTime::Format::Epoch::MJD
Implements the "modified Julian Day", starting at midnight U.T.C., November 17, 1858. This number is always 2,400,000.5 lower than the JD, and this count only uses five digits to specify a date between 1859 and about 2130.

DateTime::Format::Epoch::RJD
Implements the "reduced Julian Day", starting at noon U.T.C., November 16, 1858. This number is always 2,400,000 lower than the JD.

DateTime::Format::Epoch::TJD
Implements the "truncated Julian Day", starting at midnight U.T.C., May 24, 1968. This number is always 2,440,000,5 lower than the JD. Actually, there is another version of the TJD, defined as JD modulo 10,000. But that one is a bit harder to implement, so you'll have to do with this version of TJD. Or don't use TJD's at all.

DateTime::Format::Epoch::RataDie
Implements the Rata Die count, starting at January 1, 1 (Gregorian). This count is used by DateTime::Calendar programmers.

DateTime::Format::Epoch::Lilian
Implements the Lilian count, named after Aloysius Lilian (a 16th century physician) and first used by IBM (a 19th century punched card machine manufacturer). This counts the number of days since the adoption of the Gregorian calendar. Only days are counted, and October 15, 1584 is day 1.

Requirements:
  • Perl
    tags datetime format  format epoch  implements the  julian day  this number  than the  day starting  lower than  400 000  this count  1858 this  days since  parse datetime  

    Download DateTime::Format::Epoch::JD 0.10


     http://mirrors.evolva.ro/CPAN/authors/id/P/PI/PIJLL/DateTime-Format-Epoch-0.10.tar.gz


    Authors software

    DateTime::Format::Epoch::JD 0.10 (by Eugene van der Pijll)
    DateTime::Format::Epoch::JD is Perl module Convert DateTimes to/from Julian Days.

    SYNOPSIS

    use DateTime::Format::Epoch::JD;

    DateTime::Format::Epoch::RataDie 0.10 (by Eugene van der Pijll)
    DateTime::Format::Epoch::RataDie is a Perl module that can convert DateTimes to/from Rata Die.

    SYNOPSIS

    use DateTime::Format:

    DateTime::Format::Epoch::Lilian 0.10 (by Eugene van der Pijll)
    DateTime::Format::Epoch::Lilian is a Perl module to convert DateTimes to/from Lilian Days.

    SYNOPSIS

    use DateTime::Format::Epo

    DateTime::Format::Epoch::TAI64 0.10 (by Eugene van der Pijll)
    DateTime::Format::Epoch::TAI64 is a Perl module that can convert DateTimes to/from TAI64 values.

    SYNOPSIS

    use DateTime::Forma

    DateTime::Format::Epoch::MJD 0.10 (by Eugene van der Pijll)
    DateTime::Format::Epoch::MJD is a Perl module that can convert DateTimes to/from Modified Julian Days.

    SYNOPSIS

    use DateTime:


    Similar software

    DateTime::Format::Epoch::JD 0.10 (by Eugene van der Pijll)
    DateTime::Format::Epoch::JD is Perl module Convert DateTimes to/from Julian Days.

    SYNOPSIS

    use DateTime::Format::Epoch::JD;

    DateTime::Format::Epoch::Lilian 0.10 (by Eugene van der Pijll)
    DateTime::Format::Epoch::Lilian is a Perl module to convert DateTimes to/from Lilian Days.

    SYNOPSIS

    use DateTime::Format::Epo

    DateTime::Format::Epoch::TJD 0.10 (by Eugene van der Pijli)
    DateTime::Format::Epoch::TJD is a Perl module that can convert DateTimes to/from Truncated Julian Days.

    SYNOPSIS

    use DateTime

    DateTime::Format::Epoch::RJD 0.10 (by Eugene van der Pijll)
    DateTime::Format::Epoch::RJD is a Perl module that can convert DateTimes to/from Reduced Julian Days.

    SYNOPSIS

    use DateTime::

    DateTime::Format::Epoch::MJD 0.10 (by Eugene van der Pijll)
    DateTime::Format::Epoch::MJD is a Perl module that can convert DateTimes to/from Modified Julian Days.

    SYNOPSIS

    use DateTime:

    DateTime::Format::Epoch 0.10 (by Eugene van der Pijli)
    DateTime::Format::Epoch is a Perl module that can convert DateTimes to/from epoch seconds.

    SYNOPSIS

    use DateTime::Format::Epo

    DateTime::Format::Epoch::RataDie 0.10 (by Eugene van der Pijll)
    DateTime::Format::Epoch::RataDie is a Perl module that can convert DateTimes to/from Rata Die.

    SYNOPSIS

    use DateTime::Format:

    DateTime::Format::Epoch::MacOS 0.10 (by Eugene van der Pijli)
    DateTime::Format::Epoch::MacOS is a Perl module that can convert DateTimes to/from Mac OS epoch seconds.

    SYNOPSIS

    use DateTim

    DateTime::Format::Epoch::DotNet 0.10 (by Eugene van der Pijli)
    DateTime::Format::Epoch::DotNet is a Perl module that can convert DateTimes to/from .NET epoch seconds.

    SYNOPSIS

    use DateTime

    DateTime::Format::Epoch::Unix 0.10 (by Eugene van der Pijli)


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags