com.shift.framework.common
Class DateUtilsCmd

java.lang.Object
  extended by com.shift.framework.model.ModelCMD
      extended by com.shift.framework.common.DateUtilsCmd

public class DateUtilsCmd
extends ModelCMD

Gforms¿¡¼­ ³¯Â¥µîÀ» »ç¿ëÇØ¾ß ÇÒ¶§ ¼­¹öÀÇ ½Ã°£µîÀ» ¹ÝȯÇÏ´Â CommandŬ·¡½º

Author:
ÃÖÀç¿ø

Constructor Summary
DateUtilsCmd()
           
 
Method Summary
 void getComplexDate()
          ¿À´Ã ³¯Â¥¸¦ ±âÁØÀ¸·Î ŸÀÔ[(¿¬('Y'), ¿ù('M'), ÀÏ('D'), ÁÖ('W'))]¿¡ µû¶ó Áõ°¨À» ÇÏ¿© ÁöÁ¤ÇÑ Æ÷¸ä¿¡ ¸Â°Ô ¹ÝȯÇÏ´Â ¸Þ¼Òµå
 void getDate()
          ÇöÀç ³¯Â¥¸¦ ¹ÝȯÇÏ´Â ¸Þ¼Òµå
 
Methods inherited from class com.shift.framework.model.ModelCMD
addMessage, addMessage, getCmd, getCmd, getHttpServletRequest, getHttpServletResponse, getInputObjectCount, getModelSet, getOuputObjectCount, getParameter, getParameter, getParameter, getParameter, getSession, getSession, setCharacterEncoding, setHttpServletRequest, setHttpServletResponse
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateUtilsCmd

public DateUtilsCmd()
Method Detail

getDate

public void getDate()
             throws java.lang.Exception
ÇöÀç ³¯Â¥¸¦ ¹ÝȯÇÏ´Â ¸Þ¼Òµå

Parameters:
FORMAT - ³¯Â¥ ÇüÅ FORMAT - yyyyMMdd
Throws:
java.lang.Exception

getComplexDate

public void getComplexDate()
                    throws java.lang.Exception
¿À´Ã ³¯Â¥¸¦ ±âÁØÀ¸·Î ŸÀÔ[(¿¬('Y'), ¿ù('M'), ÀÏ('D'), ÁÖ('W'))]¿¡ µû¶ó Áõ°¨À» ÇÏ¿© ÁöÁ¤ÇÑ Æ÷¸ä¿¡ ¸Â°Ô ¹ÝȯÇÏ´Â ¸Þ¼Òµå

Parameters:
FORMAT - ³¯Â¥ Æ÷¸ä ex) yyyy-MM-dd HH:mm:ss
TYPE - ¿¬(Year) 'Y', ¿ù(Month) 'M', ÀÏ(Day) 'D', ÁÖ(Week) 'W'
SIZE - Á¤¼öÇü Áõ°¨°ª
Throws:
java.lang.Exception