java - Is it possible to get the previous day of the week using Joda-Time? -
I'm new to add-time and was looking to get the last working week / day. My initial try was done on Monday and I wanted to get a date for T1 which would be Friday:
DatetimeJohn Area = DateTimeJon. Ford ("Europe / London"); Chronologie Coptic = GJcronology.Just instance (zone); DateTimeDT = New DateTime (Coptic); DateTime Minnesound = dt.minusDays (1); System.out.println (minusOneDay);
But as I hope that returns date on Sunday, does anyone know how to go on the last week? Thanks in advance ..
This Joda does not seem to deal with time.
is a source project that looks to handle it.
Comments
Post a Comment