mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-01 07:03:35 +00:00
Added For You top bar
This commit is contained in:
14
app/src/main/java/com/cappielloantonio/play/util/Util.java
Normal file
14
app/src/main/java/com/cappielloantonio/play/util/Util.java
Normal file
@@ -0,0 +1,14 @@
|
||||
package com.cappielloantonio.play.util;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
|
||||
public class Util {
|
||||
public static String getDate() {
|
||||
String pattern = "EEEE, MMMM d";
|
||||
SimpleDateFormat simpleDateFormat = new SimpleDateFormat(pattern);
|
||||
String date = simpleDateFormat.format(new Date());
|
||||
|
||||
return date;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user