Package org.robolectric.util
Class Strftime
java.lang.Object
org.robolectric.util.Strftime
An implementation of the Unix strftime with some glibc extensions.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Strftime
public Strftime()
-
-
Method Details
-
format
Format a date string.- Parameters:
format- The format in strftime syntax.date- The date to format.locale- The locale to use for formatting.zone- The timezone to use for formatting.- Returns:
- The formatted datetime.
-