|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DateTime | |
---|---|
com.silverpeas.calendar | Provides the objects for handling and scheduling events in a calendar in Silverpeas. |
org.silverpeas.date |
Uses of DateTime in com.silverpeas.calendar |
---|
Methods in com.silverpeas.calendar that return DateTime | |
---|---|
DateTime |
DateTime.clone()
|
static DateTime |
DateTime.dateTimeAt(int... timeParts)
Creates a new date time from the specified parts of the time specification year month day hour minute second millisecond. |
DateTime |
DateTime.inTimeZone(TimeZone timeZone)
|
protected DateTime |
DateTime.newInstanceFrom(Date aDate)
|
static DateTime |
DateTime.now()
Creates a new date time set at now. |
Methods in com.silverpeas.calendar with parameters of type DateTime | |
---|---|
boolean |
DateTime.isAfter(DateTime anotherDatable)
|
boolean |
DateTime.isBefore(DateTime anotherDatable)
|
boolean |
DateTime.isEqualTo(DateTime anotherDatable)
|
Uses of DateTime in org.silverpeas.date |
---|
Methods in org.silverpeas.date that return DateTime | |
---|---|
DateTime |
Period.getBeginDatable()
Gets the begin date of the period represented as a Datable . |
DateTime |
Period.getEndDatable()
Gets the end date of the period represented as a Datable . |
Methods in org.silverpeas.date with parameters of type DateTime | |
---|---|
static Period |
Period.from(DateTime beginDatable,
DateTime endDatable)
Initialize a period from given dates. |
static Period |
Period.from(DateTime referenceDatable,
PeriodType periodType)
Initialize a period from a date and a type of period. |
static Period |
Period.from(DateTime referenceDatable,
PeriodType periodType,
String locale)
Initialize a period from a date and a type of period. |
void |
Period.setDate(DateTime referenceDatable,
PeriodType periodType)
Sets the begin and the end dates of the period. |
void |
Period.setDates(DateTime beginDatable,
DateTime endDatable)
Sets the begin and the end dates of the period. |
Constructors in org.silverpeas.date with parameters of type DateTime | |
---|---|
DayPeriod(DateTime referenceDatable)
Constructor : Constructs a newly allocated period . |
|
MonthPeriod(DateTime referenceDatable)
Constructor : Constructs a newly allocated period . |
|
Period(DateTime beginDatable,
DateTime endDatable)
Constructor : Constructs a newly allocated period . |
|
Period(DateTime beginDatable,
DateTime endDatable,
TimeZone timeZone)
Constructor : Constructs a newly allocated period . |
|
WeekPeriod(DateTime referenceDatable,
String locale)
Constructor : Constructs a newly allocated period . |
|
YearPeriod(DateTime referenceDatable)
Constructor : Constructs a newly allocated period . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |