workFrom classYear to integer type