File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/GraphODataTemplateWriter/CodeHelpers/Android Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,9 @@ public static string GetTypeString(this OdcmType @type)
3232 case "Guid" :
3333 return "java.util.UUID" ;
3434 case "DateTimeOffset" :
35- case "Date" :
3635 return "java.util.Calendar" ;
36+ case "Date" :
37+ return "com.microsoft.graph.model.DateOnly" ;
3738 case "Binary" :
3839 return "byte[]" ;
3940 default :
@@ -56,7 +57,7 @@ public static bool IsComplex(this OdcmParameter property)
5657 string t = property . GetTypeString ( ) ;
5758 return ! ( t == "Integer" || t == "java.util.UUID" || t == "java.util.Calendar"
5859 || t == "byte[]" || t == "String" || "long" == t || "Byte[]" == t
59- || t == "Short" ) ;
60+ || t == "Short" || t == "com.microsoft.graph.model.DateOnly" ) ;
6061 }
6162
6263 public static string GetToLowerFirstCharName ( this OdcmProperty property )
You can’t perform that action at this time.
0 commit comments