org.openbakery.util.DateHelper.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xcode-plugin Show documentation
Show all versions of xcode-plugin Show documentation
XCode-Plugin is a plugin to allow custom XCode projects to build as generated by CMake
package org.openbakery.util
import java.text.SimpleDateFormat
/**
* Created by stefangugarel on 23/03/2017.
*/
class DateHelper {
DateHelper() {
}
def parseOpenSSLDate(String date) {
SimpleDateFormat dateFormatter = new SimpleDateFormat("MMM dd HH:mm:ss yyyy z", Locale.ENGLISH)
return dateFormatter.parse(date)
}
}