Save This Page
Home » apache-log4j-1.2.15 » org.apache » log4j » [javadoc | source]
org.apache.log4j
class: DailyFileAppenderCalendar [javadoc | source]
java.lang.Object
   java.util.Calendar
      java.util.GregorianCalendar
         org.apache.log4j.DailyFileAppenderCalendar

All Implemented Interfaces:
    Comparable, Serializable, Cloneable

DailyFileAppenderCalendar is a helper class to DailyFileAppender. Using this class, it is easy to compute and access the next Millis() It subclasses the standard java.util.GregorianCalendar-object, to allow access to the protected function getTimeInMillis(), which it then exports.
Fields inherited from java.util.GregorianCalendar:
BC,  AD
Fields inherited from java.util.Calendar:
ERA,  YEAR,  MONTH,  WEEK_OF_YEAR,  WEEK_OF_MONTH,  DATE,  DAY_OF_MONTH,  DAY_OF_YEAR,  DAY_OF_WEEK,  DAY_OF_WEEK_IN_MONTH,  AM_PM,  HOUR,  HOUR_OF_DAY,  MINUTE,  SECOND,  MILLISECOND,  ZONE_OFFSET,  DST_OFFSET,  FIELD_COUNT,  SUNDAY,  MONDAY,  TUESDAY,  WEDNESDAY,  THURSDAY,  FRIDAY,  SATURDAY,  JANUARY,  FEBRUARY,  MARCH,  APRIL,  MAY,  JUNE,  JULY,  AUGUST,  SEPTEMBER,  OCTOBER,  NOVEMBER,  DECEMBER,  UNDECIMBER,  AM,  PM,  ALL_STYLES,  SHORT,  LONG
Method from org.apache.log4j.DailyFileAppenderCalendar Summary:
getTimeInMillis,   rollToNextDay
Methods from java.util.GregorianCalendar:
add,   clone,   equals,   getActualMaximum,   getActualMinimum,   getGreatestMinimum,   getGregorianChange,   getLeastMaximum,   getMaximum,   getMinimum,   getTimeZone,   hashCode,   isLeapYear,   roll,   roll,   setGregorianChange,   setTimeZone
Methods from java.util.Calendar:
add,   after,   before,   clear,   clear,   clone,   compareTo,   compareTo,   equals,   get,   getActualMaximum,   getActualMinimum,   getAvailableLocales,   getDisplayName,   getDisplayNames,   getFirstDayOfWeek,   getGreatestMinimum,   getInstance,   getInstance,   getInstance,   getInstance,   getLeastMaximum,   getMaximum,   getMinimalDaysInFirstWeek,   getMinimum,   getTime,   getTimeInMillis,   getTimeZone,   hashCode,   isLenient,   isSet,   roll,   roll,   set,   set,   set,   set,   setFirstDayOfWeek,   setLenient,   setMinimalDaysInFirstWeek,   setTime,   setTimeInMillis,   setTimeZone,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.log4j.DailyFileAppenderCalendar Detail:
 public long getTimeInMillis() 
    Returns the current time in Millis
 public  void rollToNextDay() 
    Roll the date to the next hour, with minute, second and millisecond set to zero.