Oracle Fusion Middleware
Oracle WebLogic Server API Reference
12c Release 1 (12.1.1)

Part Number E24391-02

weblogic.timers
Class ScheduleExpression

java.lang.Object
  extended by weblogic.timers.ScheduleExpression
All Implemented Interfaces:
Serializable

public class ScheduleExpression
extends Object
implements Serializable

A calendar-based timeout expression for callers to use in calls to schedule calendar-based timers with the TimerManager. The expression follows the syntax specified in section 18.2.1 of the final release of the EJB 3.1 Specifications.

Since:
12.1.1.0
See Also:
Serialized Form

Constructor Summary
ScheduleExpression()
           
ScheduleExpression(String year, String month, String dayOfMonth, String dayOfWeek, String hour, String minute, String second, Date startDate, Date endDate, String timezone)
           
 
Method Summary
 ScheduleExpression dayOfMonth(String dayOfMonth)
           
 ScheduleExpression dayOfWeek(String dayOfWeek)
           
 ScheduleExpression end(Date endDate)
           
 boolean equals(Object o)
           
 String getDayOfMonth()
           
 String getDayOfWeek()
           
 Date getEnd()
          Returns the end date if set, null otherwise.
 Date getFirstTimeout()
           
 String getHour()
           
 String getMinute()
           
 String getMonth()
           
 String getSecond()
           
 Date getStart()
           
 String getTimezone()
           
 String getYear()
           
 int hashCode()
           
 ScheduleExpression hour(String hour)
           
 ScheduleExpression minute(String minute)
           
 ScheduleExpression month(String month)
           
 ScheduleExpression second(String second)
           
 void setFirstTimeout(Date firstTimeout)
           
 ScheduleExpression start(Date startDate)
           
 ScheduleExpression timezone(String timezone)
           
 String toString()
           
 ScheduleExpression year(String year)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScheduleExpression

public ScheduleExpression()

ScheduleExpression

public ScheduleExpression(String year,
                          String month,
                          String dayOfMonth,
                          String dayOfWeek,
                          String hour,
                          String minute,
                          String second,
                          Date startDate,
                          Date endDate,
                          String timezone)
Method Detail

setFirstTimeout

public void setFirstTimeout(Date firstTimeout)

getFirstTimeout

public Date getFirstTimeout()

getDayOfMonth

public String getDayOfMonth()

dayOfMonth

public ScheduleExpression dayOfMonth(String dayOfMonth)

getDayOfWeek

public String getDayOfWeek()

dayOfWeek

public ScheduleExpression dayOfWeek(String dayOfWeek)

getEnd

public Date getEnd()
Returns the end date if set, null otherwise.

Returns:
the end date if set, null otherwise.

end

public ScheduleExpression end(Date endDate)

getHour

public String getHour()

hour

public ScheduleExpression hour(String hour)

getMinute

public String getMinute()

minute

public ScheduleExpression minute(String minute)

getMonth

public String getMonth()

month

public ScheduleExpression month(String month)

getSecond

public String getSecond()

second

public ScheduleExpression second(String second)

getStart

public Date getStart()

start

public ScheduleExpression start(Date startDate)

getTimezone

public String getTimezone()

timezone

public ScheduleExpression timezone(String timezone)

getYear

public String getYear()

year

public ScheduleExpression year(String year)

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
12c Release 1 (12.1.1)

Part Number E24391-02