   parseFormat: (format)->
     format.split formatRegex
   
-  moment: ->
+  getMoment: ->
     {format} = @props
     {value} = @state
     moment value, format

  toggleAPM: -> @changeValue -> if 12 >= do @hour then @add 12, "h" else @subtract 12, "h"
  
  render: ->
    datetime = do @moment
    tokens = @parseFormat @props.display
    
    table null,

  
  render: ->
    {onClickYear, onClickMonth} = @props
    datetime = do @getMoment

    activeDate = do datetime.date
    monthDays = do datetime.daysInMonth
