(.setDate (goog.date.fromIsoString "2010-12-31") 1) Matt Hoyt
________________________________ From: Base <basselh...@gmail.com> To: Clojure <clojure@googlegroups.com> Sent: Thursday, November 17, 2011 2:26 PM Subject: ClojureScript: Correct way to call an instance method with parameters? HI I am attempting to manipulate a goog.date.Date object and am a little confused on how to call a method on this object in ClojureScript If I have a date object, how do I , for example, to set the day of the month to a different day Both (. (goog.date.fromIsoString "2010-12-31") (setDate) 1) and (. (goog.date.fromIsoString "2010-12-31") (setDate 1)) yield Undefined. Any thoughts? I am sure this is an easy one but I am stuck. Thanks in advance Base -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en