Class DateTimeUtils

java.lang.Object
com.cumulocity.model.util.DateTimeUtils

public class DateTimeUtils extends Object
  • Constructor Details

    • DateTimeUtils

      public DateTimeUtils()
  • Method Details

    • chronologyUTC

      public static org.joda.time.Chronology chronologyUTC()
    • chronologyLocal

      public static org.joda.time.Chronology chronologyLocal()
    • nowUTC

      public static org.joda.time.DateTime nowUTC()
    • nowDateTimeLocal

      public static org.joda.time.DateTime nowDateTimeLocal()
    • convertNameToOffset

      public static org.joda.time.DateTime convertNameToOffset(org.joda.time.DateTime dateTime)
    • newUTC

      public static org.joda.time.DateTime newUTC(long millis)
    • newUTC

      public static org.joda.time.DateTime newUTC(Date date)
    • newLocal

      public static org.joda.time.DateTime newLocal(long millis)
    • newLocal

      public static org.joda.time.DateTime newLocal(Date date)
    • newLocal

      public static org.joda.time.DateTime newLocal(Date date, int offsetInMillis)