Package ru.bitel.common.model
Class PeriodWithTime
java.lang.Object
ru.bitel.common.model.PeriodWithTime
public class PeriodWithTime
extends java.lang.Object
- 
Constructor Summary
Constructors Constructor Description PeriodWithTime()PeriodWithTime(java.time.LocalDateTime fromDateTime, java.time.LocalDateTime toDateTime)PeriodWithTime(java.util.Date fromDate, java.util.Date toDate) - 
Method Summary
Modifier and Type Method Description java.util.DategetDateFrom()java.util.DategetDateTo()java.time.LocalDateTimegetLocalDateTimeFrom()java.time.LocalDateTimegetLocalDateTimeTo()voidsetLocalDateTimeFrom(java.time.LocalDateTime from)voidsetLocalDateTimeTo(java.time.LocalDateTime to)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait 
- 
Constructor Details
- 
PeriodWithTime
public PeriodWithTime() - 
PeriodWithTime
public PeriodWithTime(java.util.Date fromDate, java.util.Date toDate) - 
PeriodWithTime
public PeriodWithTime(java.time.LocalDateTime fromDateTime, java.time.LocalDateTime toDateTime) 
 - 
 - 
Method Details
- 
getDateFrom
public java.util.Date getDateFrom() - 
getLocalDateTimeFrom
public java.time.LocalDateTime getLocalDateTimeFrom() - 
setLocalDateTimeFrom
public void setLocalDateTimeFrom(java.time.LocalDateTime from) - 
getDateTo
public java.util.Date getDateTo() - 
getLocalDateTimeTo
public java.time.LocalDateTime getLocalDateTimeTo() - 
setLocalDateTimeTo
public void setLocalDateTimeTo(java.time.LocalDateTime to) - 
toString
public java.lang.String toString()- Overrides:
 toStringin classjava.lang.Object
 
 -