This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Escrever um programa em Javascript que lê um valor em reais e calcula qual o menor número | |
| possível de notas de 100, 50, 10, 5 e 1 em que o valor lido pode ser decomposto. | |
| Escrever o valor lido e a relação de notas necessárias | |
| */ | |
| let valor = 562.40; | |
| // Logica para notas de 100 | |
| let nota_100 = parseInt(valor / 100); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { DateTime } from 'luxon'; | |
| export enum FORMATO { | |
| DATA_HORA_PADRAO = 'dd/MM/yyyy HH:mm', | |
| DATA_HORA_PADRAO_2 = 'dd/MM/yyyy HH:mm:ss', | |
| DATA_HORA_ZONA_URL_1 = 'yyyy-MM-dd\'T\'HH:mm:ss', | |
| DATA_HORA_ZONA_URL_2 = 'yyyy-MM-dd\'T\'HH:mm:ssZ', | |
| DATA_HORA_ZONA_URL_3 = 'yyyy-MM-dd\'T\'HH:mm:ss.S', | |
| DATA_HORA_ZONA_URL_4 = 'yyyy-MM-dd\'T\'HH:mm:ss.SZ', | |
| DATA_HORA_URL_1 = 'YYYY-MM-DD HH:mm:ss', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.project.service; | |
| import com.google.common.collect.Sets; | |
| import org.apache.commons.collections.CollectionUtils; | |
| import org.apache.commons.lang3.StringUtils; | |
| import org.jetbrains.annotations.NotNull; | |
| import org.reflections.Reflections; | |
| import org.springframework.beans.factory.annotation.Autowired; | |
| import org.springframework.stereotype.Service; |

