| | |
| | | */ |
| | | public class JulianischerKalender extends BasisKalender implements Wandler { |
| | | |
| | | /** Starttag des julianischen Kalenders */ |
| | | /** |
| | | * Als Starttag wird der 1. Jaunuar 1 im julianischen Kalender festgelegt. |
| | | * 1. Januar 1 (jul) entspricht dem 30. Dezember 0 (greg). |
| | | */ |
| | | public static final long STARTTAG = |
| | | new ISOKalender().zuTagen(0, Definition.DEZEMBER, 30); |
| | | |
| | |
| | | return modulo(jYear, 4) == (jYear > 0 ? 0 : 3); |
| | | } |
| | | |
| | | /*- bce -*/ |
| | | |
| | | // TYPE standard-year -> julian-year |
| | | // Negative value to indicate a BCE Julian year. |
| | | |
| | | public long BCE(long n) { |
| | | return -n; |
| | | } |
| | | |
| | | |
| | | /*- ce -*/ |
| | | |
| | | // TYPE standard-year -> julian-year |
| | | // Positive value to indicate a CE Julian year. |
| | | |
| | | public long CE(long n) { |
| | | return n; |
| | | } |
| | | |
| | | } |
| | | } |