Skip to content

septiady/Collect-Algoritm

Repository files navigation

Build Algoritm v1.0

All function algoritm implemented with Java

How to use it?

  1. Open project with your Android Studio IDE App
  2. Open package id.septiyadi.buildalgoritma (test)
  3. Then open the collection file you want to test and see the output

Implemented Algorithm Collection

Below is a collection that we have created and can / friends use on some of the code blocks of the program that you are making

1. Get Date Today

Get date and time

@TimeAndDate.java > getTodayDate

@Test
public void getTodayDate() {
    SimpleDateFormat format = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss");
    Date today = new Date();
    String todayTime = format.format(today);

    System.out.print(todayTime);
}

Output

28/10/2021 05:23:36

Releases

No releases published

Packages

No packages published

Languages