Skip to content

Instantly share code, notes, and snippets.

jesualex /
Created Jul 25, 2019
Algoritmos sunat java para validar si el RUC peruano es valido
public class SunatUtils {
public static boolean isRUCValid(long ruc){
return isRUCValid(String.valueOf(ruc));
public static boolean isRUCValid(String ruc){
if (ruc == null) {
return false;
/* Copyright 2013 Google Inc.
Licensed under Apache 2.0: */
package com.example.latlnginterpolation;
import android.animation.ObjectAnimator;
import android.animation.TypeEvaluator;
import android.animation.ValueAnimator;
import android.annotation.TargetApi;
import android.os.Build;
You can’t perform that action at this time.