Uploaded image for project: 'ZK Calendar'
  1. ZK Calendar
  2. ZKCAL-92

Add a builder for the immutable DefaultCalendarItem

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Normal Normal
    • 3.0.2, 3.1.0
    • 3.0.0
    • None

      User Story

      create the immutable DefaultCalendarItem with constructor is not very convenient.

      Acceptance Criteria

      Add a builder for the immutable DefaultCalendarItem.

      for example:

      DefaultCalendarItem item = new DefaultCalendarItem.Builder()
      .withTitle("title text")
      .withContent("content text")
      .withSclass("myclass")
      .withLocked(false)
      .withBegin(start)
      .withEnd(end)
      .withZoneId(zoneId)
      .build();

      Details

       

            Leon03 Leon03
            Leon03 Leon03
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: