Skip to content

Instantly share code, notes, and snippets.

View MmmarinaMarinova's full-sized avatar

Marina Marinova MmmarinaMarinova

  • Sofia, Bulgaria
View GitHub Profile
import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
/**
* Created by Marina on 23.01.2017 г..
*/
public class CollectTheCoins {
public static void main(String[] args) {
private _validateDate(value: any) {
if (this.hasFlag('notDate')) {
return this;
}
if (!(UtilsCollections.isString(value) || UtilsCollections.isValidNumber(value))) {
if (UtilsCollections.isString(this.propertyKey)) {
this.recordFlag('propertyNotDate', [this.value, this.propertyKey]);
} else {
this.recordFlag('notDate', [this.value]);