Home
Ruby
ActiveRecord
Array
CGI
Class
Collections
Database
Date
Design Patterns
Development
File Directory
GUI
Hash
Language Basics
Method
Network
Number
Rails
Range
Reflection
Statement
String
Threads
Time
Tk
Unit Test
Windows Platform
XML
julian « Date « Ruby
Ruby
Date
julian
1.
To see the difference between Julian and Gregorian dates (there is a difference of more than 10 days), find the Julian day with the julian method
2.
get the Julian day (days from January 1, 4713 B.C., starting from 0) with the jd instance method
3.
create a year based on the Julian day with the jd class method