Package com.castlabs.android.utils
Class DateUtils
java.lang.Object
com.castlabs.android.utils.DateUtils
Utility class for date operations.
-
Method Summary
Modifier and TypeMethodDescriptionstatic longparseServerDate(String serverDate) Parses a server-formatted Date String and returns the equivalent time
-
Method Details
-
parseServerDate
Parses a server-formatted Date String and returns the equivalent time- Parameters:
serverDate- Date to parse- Returns:
- time
-