public class PeriodWithTime
extends java.lang.Object
Constructor and Description |
---|
PeriodWithTime() |
PeriodWithTime(java.util.Date fromDate,
java.util.Date toDate) |
PeriodWithTime(java.time.LocalDateTime fromDateTime,
java.time.LocalDateTime toDateTime) |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getDateFrom() |
java.util.Date |
getDateTo() |
java.time.LocalDateTime |
getLocalDateTimeFrom() |
java.time.LocalDateTime |
getLocalDateTimeTo() |
void |
setLocalDateTimeFrom(java.time.LocalDateTime from) |
void |
setLocalDateTimeTo(java.time.LocalDateTime to) |
java.lang.String |
toString() |
public PeriodWithTime()
public PeriodWithTime(java.util.Date fromDate, java.util.Date toDate)
public PeriodWithTime(java.time.LocalDateTime fromDateTime, java.time.LocalDateTime toDateTime)
public java.util.Date getDateFrom()
public java.time.LocalDateTime getLocalDateTimeFrom()
public void setLocalDateTimeFrom(java.time.LocalDateTime from)
public java.util.Date getDateTo()
public java.time.LocalDateTime getLocalDateTimeTo()
public void setLocalDateTimeTo(java.time.LocalDateTime to)
public java.lang.String toString()
toString
in class java.lang.Object