mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 18:03:33 +00:00
Added For You top bar
This commit is contained in:
parent
81581c623d
commit
fdc104f70b
6 changed files with 89 additions and 5 deletions
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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue