Roo/bootstrap/DateSplitField.js
authoredward <edward@roojs.com>
Tue, 19 Apr 2016 06:19:10 +0000 (14:19 +0800)
committeredward <edward@roojs.com>
Tue, 19 Apr 2016 06:19:10 +0000 (14:19 +0800)
Roo/bootstrap/DateSplitField.js

index bc6725b..238112d 100644 (file)
@@ -264,6 +264,21 @@ Roo.extend(Roo.bootstrap.DateSplitField, Roo.bootstrap.Component,  {
         return;
     },
     
+    getDay : function()
+    {
+        return this.dayField.getValue();
+    },
+    
+    getMonth : function()
+    {
+        return this.monthField.getValue();
+    },
+    
+    getYear : function()
+    {
+        return this.yearField.getValue();
+    },
+    
     getValue : function()
     {
         var f = this.yearFormat + '-' + this.monthFormat + '-' + this.dayFormat;