android/sdk/src/main/java/io/o2mc/sdk/util/TimeUtil.java
private static String fromCalendar(final Calendar calendar) {
    Date date = calendar.getTime();

    String formatted = isoFormat.format(date);

    return formatted.substring(0, 22) + ":" + formatted.substring(22);
  }
/**
   * Transform Calendar to ISO 8601 string.
   */
Transform Calendar to ISO 8601 string.
Transform Calendar to ISO 8601 string .
private static String fromCalendar(final Calendar calendar) {
    Date date = calendar.getTime();
    String formatted = isoFormat.format(date);
    return formatted.substring(0, 22) + ":" + formatted.substring(22);
  }
private static String fromCalendar ( final Calendar calendar ) { Date date = calendar . getTime ( ) ; String formatted = isoFormat . format ( date ) ; return formatted . substring ( 0 , 22 ) + ":" + formatted . substring ( 22 ) ; }
Transform Calendar to ISO 8601 string.
Transform Calendar to ISO 8601 string .