/** Set the event used for reference date. */ public synchronized void setDateType(final DateType newValue) { checkWritePermission(); dateType = newValue; } }
/** Constructs a citation date initialized to the given date. */ public CitationDateImpl(final Date date, final DateType dateType) { setDate(date); setDateType(dateType); }
/** * Constructs a citation date initialized to the given date. */ public CitationDateImpl(final Date date, final DateType dateType) { setDate (date); setDateType(dateType); }
/** Set the reference date for the cited resource. */ public synchronized void setDate(final Date newValue) { checkWritePermission(); date = (newValue != null) ? newValue.getTime() : Long.MIN_VALUE; }
/** * Constructs a citation date initialized to the given date. */ public CitationDateImpl(final Date date, final DateType dateType) { setDate (date); setDateType(dateType); }
/** * Set the event used for reference date. */ public synchronized void setDateType(final DateType newValue) { checkWritePermission(); dateType = newValue; } }
/** * Set the event used for reference date. */ public synchronized void setDateType(final DateType newValue) { checkWritePermission(); dateType = newValue; } }
/** * Set the reference date for the cited resource. */ public synchronized void setDate(final Date newValue) { checkWritePermission(); date = (newValue!=null) ? newValue.getTime() : Long.MIN_VALUE; }
/** * Set the reference date for the cited resource. */ public synchronized void setDate(final Date newValue) { checkWritePermission(); date = (newValue!=null) ? newValue.getTime() : Long.MIN_VALUE; }