644 |
* @param gregorian <code>true</code>, if we should use the Gregorian rules. |
* @param gregorian <code>true</code>, if we should use the Gregorian rules. |
645 |
* @return the days since the epoch, may be negative. |
* @return the days since the epoch, may be negative. |
646 |
*/ |
*/ |
647 |
public long getLinearDay(int year, int dayOfYear, boolean gregorian) |
private long getLinearDay(int year, int dayOfYear, boolean gregorian) |
648 |
{ |
{ |
649 |
// The 13 is the number of days, that were omitted in the Gregorian |
// The 13 is the number of days, that were omitted in the Gregorian |
650 |
// Calender until the epoch. |
// Calender until the epoch. |