In the US, you only get a single year coverage, unless you purchase the applecare extended warranty. This applies to both consumer, educational, and developer purchases.
Different countries have different consumer protection laws, so I can only state what I know here in the good ol' U.S of A.