Class Strftime


public class Strftime extends Object
Converts dates to strings using the same format specifiers as strftime Notes:
  • This does not mimic strftime perfectly. Certain strftime commands, are not supported, and will convert as if they were literals.
  • Certain complicated commands, like those dealing with the week of the year probably don't have exactly the same behavior as strftime.
  • These limitations are due to use SimpleDateTime. If the conversion was done manually, all these limitations could be eliminated.
  • The interface looks like a subset of DateFormat. Maybe someday someone will make this class extend DateFormat.
Bip Thelin, Dan Sandberg