getters and setters for publishdate