ÿþ/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
   * 	 F i l e : 	 	     d a t e _ u t i l . j s 
   * 	 A u t h o r : 	 	 M e t a D e s i g n 
   * 	 C r e a t e d : 	 M a r c h   7 ,   2 0 0 7 
   * 
   * 	 D e s c r i p t i o n : 
   * 	 E n h a n c e s   d a t e   c a p a b i l i t i e s   i n   j a v a s c r i p t . 
   *     U s e d   b y   c a l e n d a r   c o n t r o l s . 
   * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /  
  
 / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
   *   S t a t i c   M e t h o d :   i s L e a p Y e a r  
   *  
   *   D e t e r m i n e s   i f   a   y e a r   i s   a   l e a p   y e a r .  
   *  
   *   P a r a m e t e r s :  
   *   p Y e a r         i n t e g e r       4   d i g i t   y e a r  
   *  
   *   R e t u r n :  
   *   b o o l e a n         t r u e   i f   p Y e a r   i s   a   l e a p   y e a r  
   * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 D a t e . i s L e a p Y e a r   =   f u n c t i o n ( p Y e a r )   {  
     i f   ( 0   = =   p Y e a r   %   4 0 0 )   r e t u r n   t r u e ;  
     i f   ( 0   = =   p Y e a r   %   1 0 0 )   r e t u r n   f a l s e ;  
     r e t u r n   ( 0   = =   p Y e a r   %   4 )   ?   t r u e   :   f a l s e ;  
 }  
  
 / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
   *   M e t h o d :   i s L e a p Y e a r  
   *  
   *   D e t e r m i n e s   i f   a   d a t e   i s   i n   a   l e a p   y e a r .  
   *  
   *   P a r a m e t e r s :  
   *   N o n e  
   *  
   *   R e t u r n :  
   *   b o o l e a n         t r u e   i f   t h e   d a t e   i s   i n   a   l e a p   y e a r  
   * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 D a t e . p r o t o t y p e . i s L e a p Y e a r   =   f u n c t i o n ( )   {  
     r e t u r n   D a t e . i s L e a p Y e a r ( t h i s . g e t F u l l Y e a r ( ) ) ;  
 }  
  
 / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
   *   S t a t i c   M e t h o d :   g e t D a y s I n M o n t h  
   *  
   *   R e t u r n s   t h e   n u m b e r   o f   d a y s   i n   a   g i v e n   m o n t h / y e a r .  
   *  
   *   P a r a m e t e r s :  
   *   p M o n t h       i n t e g e r       m o n t h   i n d e x   ( 0   t o   1 1 )  
   *   p Y e a r         i n t e g e r       4   d i g i t   y e a r  
   *  
   *   R e t u r n :  
   *   i n t e g e r         T h e   n u m b e r   o f   d a y s   i n   p M o n t h / p Y e a r  
   * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 D a t e . g e t D a y s I n M o n t h   =   f u n c t i o n ( p M o n t h ,   p Y e a r )   {  
     v a r   m o n t h D a y s   =   [ 3 1 ,   2 8 ,   3 1 ,   3 0 ,   3 1 ,   3 0 ,   3 1 ,   3 1 ,   3 0 ,   3 1 ,   3 0 ,   3 1 ] ;  
     / /   H a n d l e   a l l   m o n t h s   e x c e p t   F e b r u a r y  
     i f   ( p M o n t h   ! =   1 )   r e t u r n   m o n t h D a y s [ p M o n t h ] ;  
     / /   H a n d l e   F e b r u a r y  
     r e t u r n   ( D a t e . i s L e a p Y e a r ( p Y e a r ) )   ?   m o n t h D a y s [ p M o n t h ]   +   1   :   m o n t h D a y s [ p M o n t h ] ;  
 }  
  
 / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
   *   M e t h o d :   g e t D a y s I n M o n t h  
   *  
   *   R e t u r n s   t h e   n u m b e r   o f   d a y s   i n   t h e   m o n t h   o f   t h e   g i v e n   d a t e .  
   *  
   *   P a r a m e t e r s :  
   *   N o n e  
   *  
   *   R e t u r n :  
   *   i n t e g e r         T h e   n u m b e r   o f   d a y s   i n   t h e   m o n t h   o f   t h e   g i v e n   d a t e  
   * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 D a t e . p r o t o t y p e . g e t D a y s I n M o n t h   =   f u n c t i o n ( )   {  
     r e t u r n   D a t e . g e t D a y s I n M o n t h ( t h i s . g e t M o n t h ( ) ,   t h i s . g e t F u l l Y e a r ( ) ) ;  
 }  
  
 / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
   *   M e t h o d :   g e t P r e v M o n t h  
   *  
   *   R e t u r n s   a   d a t e   r e p r e s e n t i n g   t h e   f i r s t   d a y   o f   t h e   p r e v i o u s   m o n t h .  
   *  
   *   P a r a m e t e r s :  
   *   N o n e  
   *  
   *   R e t u r n :  
   *   d a t e           T h e   f i r s t   d a y   o f   t h e   p r e v i o u s   m o n t h  
   * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 D a t e . p r o t o t y p e . g e t P r e v M o n t h   =   f u n c t i o n ( )   {  
     v a r   c u r r M o n t h   =   t h i s . g e t M o n t h ( ) ;  
     v a r   c u r r Y e a r   =   t h i s . g e t F u l l Y e a r ( ) ;  
     r e t u r n   ( c u r r M o n t h   = =   0 )   ?   n e w   D a t e ( c u r r Y e a r   -   1 ,   1 1 ,   1 )   :   n e w   D a t e ( c u r r Y e a r ,   c u r r M o n t h   -   1 ,   1 ) ;  
 }  
  
 / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
   *   M e t h o d :   g e t N e x t M o n t h  
   *  
   *   R e t u r n s   a   d a t e   r e p r e s e n t i n g   t h e   f i r s t   d a y   o f   t h e   n e x t   m o n t h .  
   *  
   *   P a r a m e t e r s :  
   *   N o n e  
   *  
   *   R e t u r n :  
   *   d a t e           T h e   f i r s t   d a y   o f   t h e   n e x t   m o n t h  
   * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 D a t e . p r o t o t y p e . g e t N e x t M o n t h   =   f u n c t i o n ( )   {  
     v a r   c u r r M o n t h   =   t h i s . g e t M o n t h ( ) ;  
     v a r   c u r r Y e a r   =   t h i s . g e t F u l l Y e a r ( ) ;  
     r e t u r n   ( c u r r M o n t h   = =   1 1 )   ?   n e w   D a t e ( c u r r Y e a r   +   1 ,   0 ,   1 )   :   n e w   D a t e ( c u r r Y e a r ,   c u r r M o n t h   +   1 ,   1 ) ;  
 }  
  
  
 / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
   *   M e t h o d :   g e t P r e v D a t e  
   *  
   *   R e t u r n s   a   d a t e   r e p r e s e n t i n g   t h e   d a y   b e f o r e .  
   *  
   *   P a r a m e t e r s :  
   *   N o n e  
   *  
   *   R e t u r n :  
   *   d a t e           T h e   d a y   b e f o r e   t h e   g i v e n   d a t e  
   * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 D a t e . p r o t o t y p e . g e t P r e v D a t e   =   f u n c t i o n ( )   {  
     v a r   c u r r Y e a r   =   t h i s . g e t F u l l Y e a r ( ) ;  
     v a r   c u r r M o n t h   =   t h i s . g e t M o n t h ( ) ;  
     v a r   c u r r D a t e   =   t h i s . g e t D a t e ( ) ;  
  
     i f   ( c u r r D a t e   = =   1 )   {  
         i f   ( c u r r M o n t h   = =   0 )   {  
             / /   F o r   J a n   1  
             r e t u r n   n e w   D a t e ( c u r r Y e a r   -   1 ,   1 1 ,   3 1 ) ;  
         }   e l s e   {  
             / /   F o r   f i r s t   o f   t h e   m o n t h   n o t   i n c l u d i n g   J a n  
             r e t u r n   n e w   D a t e ( c u r r Y e a r ,   c u r r M o n t h   -   1 ,   D a t e . g e t D a y s I n M o n t h ( c u r r M o n t h   -   1 ,   c u r r Y e a r ) ) ;  
         }  
     }   e l s e   {  
         r e t u r n   n e w   D a t e ( c u r r Y e a r ,   c u r r M o n t h ,   c u r r D a t e   -   1 ) ;  
     }  
 }  
  
 / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
   *   M e t h o d :   g e t N e x t D a t e  
   *  
   *   R e t u r n s   a   d a t e   r e p r e s e n t i n g   t h e   d a y   a f t e r .  
   *  
   *   P a r a m e t e r s :  
   *   N o n e  
   *  
   *   R e t u r n :  
   *   d a t e           T h e   d a y   a f t e r   t h e   g i v e n   d a t e  
   * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 D a t e . p r o t o t y p e . g e t N e x t D a t e   =   f u n c t i o n ( )   {  
     v a r   c u r r Y e a r   =   t h i s . g e t F u l l Y e a r ( ) ;  
     v a r   c u r r M o n t h   =   t h i s . g e t M o n t h ( ) ;  
     v a r   c u r r D a t e   =   t h i s . g e t D a t e ( ) ;  
      
     i f   ( c u r r D a t e   = =   t h i s . g e t D a y s I n M o n t h ( ) )   {  
         i f   ( c u r r M o n t h   = =   1 1 )   {  
             / /   F o r   D e c   3 1  
             r e t u r n   n e w   D a t e ( c u r r Y e a r   +   1 ,   0 ,   1 ) ;  
         }   e l s e   {  
             / /   F o r   l a s t   d a y   o f   t h e   m o n t h   n o t   i n c l u d i n g   D e c  
             r e t u r n   n e w   D a t e ( c u r r Y e a r ,   c u r r M o n t h   +   1 ,   1 ) ;  
         }  
     }   e l s e   {  
         r e t u r n   n e w   D a t e ( c u r r Y e a r ,   c u r r M o n t h ,   c u r r D a t e   +   1 ) ;  
     }  
 }  
  
  
 / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
   *   S t a t i c   M e t h o d :   i s S a m e M o n t h Y e a r  
   *  
   *   D e t e r m i n e s   i f   t w o   d a t e s   a r e   i n   t h e   s a m e   m o n t h   a n d   y e a r .  
   *  
   *   P a r a m e t e r s :  
   *   p D a t e A       d a t e         T h e   f i r s t   d a t e   t o   c o m p a r e  
   *   p D a t e B       d a t e         T h e   s e c o n d   d a t e   t o   c o m p a r e  
   *  
   *   R e t u r n :  
   *   b o o l e a n         T r u e   i f   b o t h   d a t e s   a r e   i n   t h e   s a m e   m o n t h   a n d   y e a r  
   * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 D a t e . i s S a m e M o n t h Y e a r   =   f u n c t i o n ( p D a t e A ,   p D a t e B )   {  
     r e t u r n   ( p D a t e A . g e t F u l l Y e a r ( )   = =   p D a t e B . g e t F u l l Y e a r ( ) )   & &   ( p D a t e A . g e t M o n t h ( )   = =   p D a t e B . g e t M o n t h ( ) ) ;  
 }  
  
 / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
   *   S t a t i c   M e t h o d :   g e t D a y N a m e  
   *  
   *   R e t u r n s   t h e   n a m e   o f   t h e   d a y   ( " S u n d a y " ,   " M o n d a y " ,   e t c . ) .  
   *  
   *   P a r a m e t e r s :  
   *   p D a y       i n t e g e r       T h e   d a y   i n d e x   ( 0   t o   7 )  
   *  
   *   R e t u r n :  
   *   s t r i n g       T h e   f u l l   n a m e   o f   t h e   d a y  
   * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 D a t e . g e t D a y N a m e   =   f u n c t i o n ( p D a y )   {  
     v a r   d a y N a m e s   =   D a t e . g e t D a y N a m e s ( ) ;  
     r e t u r n   d a y N a m e s [ p D a y ] ;  
 }  
  
 / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
   *   M e t h o d :   g e t D a y N a m e  
   *  
   *   R e t u r n s   t h e   n a m e   o f   t h e   g i v e n   d a t e   ( " S u n d a y " ,   " M o n d a y " ,   e t c . ) .  
   *  
   *   P a r a m e t e r s :  
   *   N o n e  
   *  
   *   R e t u r n :  
   *   s t r i n g       T h e   f u l l   n a m e   o f   t h e   g i v e n   d a t e  
   * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 D a t e . p r o t o t y p e . g e t D a y N a m e   =   f u n c t i o n ( )   {  
     r e t u r n   D a t e . g e t D a y N a m e ( t h i s . g e t D a y ( ) ) ;  
 }  
  
 / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
   *   S t a t i c   M e t h o d :   g e t D a y A b b r e v i a t i o n  
   *  
   *   R e t u r n s   t h e   a b b r e v i a t e d   n a m e   o f   t h e   d a y   ( " S " ,   " M " ,   e t c . ) .  
   *  
   *   P a r a m e t e r s :  
   *   p D a y       i n t e g e r       T h e   d a y   i n d e x   ( 0   t o   7 )  
   *  
   *   R e t u r n :  
   *   s t r i n g       T h e   s i n g l e   c h a r a c t e r   a b b r e v i a t e d   n a m e   o f   t h e   d a y  
   * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 D a t e . g e t D a y A b b r e v i a t i o n   =   f u n c t i o n ( p D a y )   {  
     v a r   d a y A b b r e v s   =   D a t e . g e t D a y A b b r e v i a t i o n s ( ) ;  
     r e t u r n   d a y A b b r e v s [ p D a y ] ;  
 }  
  
 / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
   *   M e t h o d :   g e t D a y A b b r e v i a t i o n  
   *  
   *   R e t u r n s   t h e   a b b r e v i a t e d   n a m e   o f   t h e   g i v e n   d a t e   ( " S " ,   " M " ,   e t c . ) .  
   *  
   *   P a r a m e t e r s :  
   *   N o n e  
   *  
   *   R e t u r n :  
   *   s t r i n g       T h e   s i n g l e   c h a r a c t e r   a b b r e v i a t e d   n a m e   o f   t h e   g i v e n  
   *                     d a t e  
   * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 D a t e . p r o t o t y p e . g e t D a y A b b r e v i a t i o n   =   f u n c t i o n ( )   {  
     r e t u r n   D a t e . g e t D a y A b b r e v i a t i o n ( t h i s . g e t D a y ( ) ) ;  
 }  
  
 / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
   *   S t a t i c   M e t h o d :   g e t M o n t h N a m e  
   *  
   *   R e t u r n s   t h e   n a m e   o f   t h e   m o n t h   ( " J a n u a r y " ,   " F e b r u a r y " ,   e t c . ) .  
   *  
   *   P a r a m e t e r s :  
   *   p M o n t h       i n t e g e r       T h e   m o n t h   i n d e x   ( 0   t o   1 1 )  
   *  
   *   R e t u r n :  
   *   s t r i n g       T h e   f u l l   n a m e   o f   t h e   m o n t h  
   * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 D a t e . g e t M o n t h N a m e   =   f u n c t i o n ( p M o n t h )   {  
     v a r   m o n t h N a m e s   =   D a t e . g e t M o n t h N a m e s ( ) ;  
     r e t u r n   m o n t h N a m e s [ p M o n t h ] ;  
 }  
  
 / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
   *   M e t h o d :   g e t M o n t h N a m e  
   *  
   *   R e t u r n s   t h e   n a m e   o f   t h e   m o n t h   f o r   t h e   g i v e n   d a t e  
   *   ( " J a n u a r y " ,   " F e b r u a r y " ,   e t c . ) .  
   *  
   *   P a r a m e t e r s :  
   *   N o n e  
   *  
   *   R e t u r n :  
   *   s t r i n g       T h e   f u l l   n a m e   o f   t h e   m o n t h   f o r   t h e   g i v e n   d a t e  
   * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 D a t e . p r o t o t y p e . g e t M o n t h N a m e   =   f u n c t i o n ( )   {  
     r e t u r n   D a t e . g e t M o n t h N a m e ( t h i s . g e t M o n t h ( ) ) ;  
 }  
  
 / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
   *   S t a t i c   M e t h o d :   g e t M o n t h A b b r e v i a t i o n  
   *  
   *   R e t u r n s   t h e   a b b r e v i a t e d   n a m e   o f   t h e   m o n t h   ( " J a n " ,   " F e b " ,   e t c . ) .  
   *  
   *   P a r a m e t e r s :  
   *   p M o n t h       i n t e g e r       T h e   m o n t h   i n d e x   ( 0   t o   1 1 )  
   *  
   *   R e t u r n :  
   *   s t r i n g       T h e   t h r e e   c h a r a c t e r   a b b r e v i a t e d   n a m e   o f   t h e   m o n t h  
   * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 D a t e . g e t M o n t h A b b r e v i a t i o n   =   f u n c t i o n ( p M o n t h )   {  
     v a r   m o n t h A b b r e v s   =   D a t e . g e t M o n t h A b b r e v i a t i o n s ( ) ;  
     r e t u r n   m o n t h A b b r e v s [ p M o n t h ] ;  
 }  
  
 / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
   *   M e t h o d :   g e t M o n t h A b b r e v i a t i o n  
   *  
   *   R e t u r n s   t h e   a b b r e v i a t e d   n a m e   o f   t h e   m o n t h   f o r   t h e   g i v e n   d a t e  
   *   ( " J a n " ,   " F e b " ,   e t c . ) .  
   *  
   *   P a r a m e t e r s :  
   *   N o n e  
   *  
   *   R e t u r n :  
   *   s t r i n g       T h e   t h r e e   c h a r a c t e r   a b b r e v i a t e d   n a m e   o f   t h e   m o n t h  
   *                     f o r   t h e   g i v e n   d a t e  
   * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 D a t e . p r o t o t y p e . g e t M o n t h A b b r e v i a t i o n   =   f u n c t i o n ( )   {  
     r e t u r n   D a t e . g e t M o n t h A b b r e v i a t i o n ( t h i s . g e t M o n t h ( ) ) ;  
 }  
  
 / /   T O D O :     E n h a n c e m e n t   -   S e p a r a t e   s t r i n g   a r r a y s   i n t o   s e p a r a t e   c o n s t a n t s   f i l e   t o   b e   l o c a l i z e d   f o r   j a p a n e s e   a n d   c h i n e s e .  
  
 / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
   *   S t a t i c   M e t h o d :   g e t D a y N a m e s  
   *  
   *   R e t u r n s   a n   a r r a y   o f   d a y   n a m e s .  
   *  
   *   P a r a m e t e r s :  
   *   N o n e  
   *  
   *   R e t u r n :  
   *   a r r a y         A r r a y   o f   d a y   n a m e s   i n   i n d e x   o r d e r  
   * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 D a t e . g e t D a y N a m e s   =   f u n c t i o n ( )   {  
     r e t u r n   [ " åeÜfåe" ,   " gÜfåe" ,   " kpÜfåe" ,   " 4lÜfåe" ,   " (gÜfåe" ,   " Ñ‘Üfåe" ,   " WÜfåe" ] ;  
 }  
  
 / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
   *   S t a t i c   M e t h o d :   g e t D a y A b b r e v i a t i o n s  
   *  
   *   R e t u r n s   a n   a r r a y   o f   s i n g l e   c h a r a c t e r   d a y   n a m e   a b b r e v i a t i o n s .  
   *  
   *   P a r a m e t e r s :  
   *   N o n e  
   *  
   *   R e t u r n :  
   *   a r r a y         A r r a y   o f   s i n g l e   c h a r a c t e r   d a y   n a m e   a b b r e v i a t i o n s   i n  
   *                     i n d e x   o r d e r  
   * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 D a t e . g e t D a y A b b r e v i a t i o n s   =   f u n c t i o n ( )   {  
     r e t u r n   [ " åe" ,   " g" ,   " kp" ,   " 4l" ,   " (g" ,   " Ñ‘" ,   " W" ] ;  
 }  
  
 / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
   *   S t a t i c   M e t h o d :   g e t M o n t h N a m e s  
   *  
   *   R e t u r n s   a n   a r r a y   o f   m o n t h   n a m e s .  
   *  
   *   P a r a m e t e r s :  
   *   N o n e  
   *  
   *   R e t u r n :  
   *   a r r a y         A r r a y   o f   m o n t h   n a m e s   i n   i n d e x   o r d e r  
   * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 D a t e . g e t M o n t h N a m e s   =   f u n c t i o n ( )   {  
     r e t u r n   [ " 1 g" ,   " 2 g" ,   " 3 g" ,   " 4 g" ,   " 5 g" ,   " 6 g" ,   " 7 g" ,   " 8 g" ,   " 9 g" ,   " 1 0 g" ,   " 1 1 g" ,   " 1 2 g" ] ;  
 }  
  
 / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
   *   S t a t i c   M e t h o d :   g e t M o n t h A b b r e v i a t i o n s  
   *  
   *   R e t u r n s   a n   a r r a y   o f   t h r e e   c h a r a c t e r   m o n t h   n a m e   a b b r e v i a t i o n s .  
   *  
   *   P a r a m e t e r s :  
   *   N o n e  
   *  
   *   R e t u r n :  
   *   a r r a y         A r r a y   o f   t h r e e   c h a r a c t e r   m o n t h   n a m e   a b b r e v i a t i o n s   i n  
   *                     i n d e x   o r d e r  
   * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 D a t e . g e t M o n t h A b b r e v i a t i o n s   =   f u n c t i o n ( )   {  
     r e t u r n   [ " 1 g" ,   " 2 g" ,   " 3 g" ,   " 4 g" ,   " 5 g" ,   " 6 g" ,   " 7 g" ,   " 8 g" ,   " 9 g" ,   " 1 0 g" ,   " 1 1 g" ,   " 1 2 g" ] ;  
 } 
