Class Systems Based on Time