2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
10 package eu
.etaxonomy
.cdm
.model
.common
;
14 import java
.util
.Calendar
;
16 import javax
.persistence
.Embeddable
;
17 import javax
.persistence
.Temporal
;
18 import javax
.persistence
.TemporalType
;
20 import org
.apache
.log4j
.Logger
;
26 * @created 08-Nov-2007 13:07:00
29 public class TimePeriod
{
30 private Calendar start
;
34 // TODO Auto-generated constructor stub
36 public TimePeriod(Calendar startDate
) {
39 public TimePeriod(Calendar startDate
, Calendar endDate
) {
44 @Temporal(TemporalType
.TIMESTAMP
)
45 public Calendar
getStart() {
48 public void setStart(Calendar start
) {
52 @Temporal(TemporalType
.TIMESTAMP
)
53 public Calendar
getEnd() {
56 public void setEnd(Calendar end
) {