Posts by brunobastosg • 188 points
8 posts
-
2
votes1
answer56
viewsA: Error Convert data format EN
The problem is that the date 31/09/2019 is not valid (September only has 30 days). You can pass the parameter errors="ignore" or errors="coerce" for the function to_datetime.…
-
1
votes4
answers2052
viewsA: Is Ecmascript 6 supported by current browsers?
If you want, you can write your code using the features of Ecmascript 6 and still support old browsers using the Babel. It will transform your Javascript code in a way that the older browsers you…
-
0
votes4
answers711
viewsA: Why are literal objects declared with const in Javascript currently?
Actually, in ES6, you can declare variables using let or const. Like you said yourself, const is to create constants, ie you declare once and will no longer reassign the value. In the case of let,…
-
0
votes1
answer43
viewsA: String conversion problems reading data in CSV
Make a replaceAll to remove the quotation marks: originado.setCount(Integer.parseInt(values[5].replaceAll("\"", ""));…
-
0
votes2
answers41
viewsA: How to group Jsons by data?
If the transformed JSON does not need to be exactly the same as this, you can use the function groupBy of lodash: const _ = require('lodash'); const itens = [ {id_fornecedor: '100', id_pedido:…
-
2
votes1
answer2919
viewsA: Hibernate does not recognize class annotation
You must add the class com.financeiro.Pessoa in his persistence.xml. Place the following line before the line it contains <properties>: <class>com.financeiro.Pessoa</class> An…
-
1
votes2
answers60
viewsA: Innerclass object is created at what point?
No. The Inner class is only created when you make a static reference to it or instantiate it. See the example below: public class Classe { static { System.out.println("Carregou Classe"); } public…
-
1
votes1
answer197
viewsA: Could not send email - java.lang.Nullpointerexception Android
It seems the attribute _to is void. You try to use it on this line: if(!_user.equals("") && !_pass.equals("") && _to.length > 0 && !_from.equals("") &&…
androidanswered brunobastosg 188