| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.core.util.DateDoodads
atg.commerce.gifts.GiftlistDateUtil
public class GiftlistDateUtil
This object provides additional date functionality for giftlists. It exposes constants as properties.
DateDoodads| Field Summary | |
|---|---|
| static java.lang.String | CLASS_VERSIONClass version string | 
| Fields inherited from class atg.core.util.DateDoodads | 
|---|
| DAY_MILLIS, HOUR_MILLIS, kDays, kDaysAbbrev, kLastDates, kMonthNumbers, kMonths, kMonthsAbbrev, kMonthsAbbrevLower, kMonthsLower, MINUTE_MILLIS, SECOND_MILLIS, WEEK_MILLIS, YEAR_MILLIS | 
| Constructor Summary | |
|---|---|
| GiftlistDateUtil()Constructs an instanceof GiftlistDateUtil | |
| Method Summary | |
|---|---|
|  java.lang.String[] | getDates()The dates of a month | 
|  int[] | getLastDates()The last dates in a month | 
|  java.lang.String[] | getMonths()The months of the year | 
|  java.lang.String[] | getYears()The years | 
| static int | monthInt(java.lang.String pMonth)Returns the 0-11 java.util.Date month value for a given month (English) | 
|  void | setDates(java.lang.String[] pDates)Sets property dates | 
|  void | setLastDates(int[] pLastDates)Sets property lastDates | 
|  void | setMonths(java.lang.String[] pMonths)Sets property months | 
|  void | setYears(java.lang.String[] pYears)Sets property years | 
| Methods inherited from class atg.core.util.DateDoodads | 
|---|
| approxIntervalString, dateFromDay, dateString, dateStringFourDigitYear, dateTimeString, dayString, dayStringAbbrev, httpDateString, httpDateString, httpDateStringOld, httpDateStringOld, internetTimeString, isLeapYear, lastDate, main, monthString, monthStringAbbrev, padString, sameDay, sameWeek, setThrowTwoDigitYearException, setTwoDigitWrapYear, stringDate, timeString | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static java.lang.String CLASS_VERSION
| Constructor Detail | 
|---|
public GiftlistDateUtil()
| Method Detail | 
|---|
public void setMonths(java.lang.String[] pMonths)
pMonths - This property exposes the months of the year constant.public java.lang.String[] getMonths()
public void setDates(java.lang.String[] pDates)
pDates - This property exposes dates in a monthpublic java.lang.String[] getDates()
public void setYears(java.lang.String[] pYears)
pYears - This property exposes the years constantpublic java.lang.String[] getYears()
public void setLastDates(int[] pLastDates)
pLastDates - This property exposes the last dates of a month constantpublic int[] getLastDates()
public static int monthInt(java.lang.String pMonth)
pMonth - Month January-DecemberDate| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||