summaryrefslogtreecommitdiff
path: root/src/com/google/wireless/gdata/calendar/data/Recurrence.java
blob: bae916098331b685b81af9dca7f72f3ab4c6be73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright 2007 The Android Open Source Project

package com.google.wireless.gdata.calendar.data;

/**
 * Container for information about a Recurrence.
 */
// TODO: get rid of this?
public class Recurrence {
    
    private final String recurrence;
    
    /**
     * Creates a new recurrence for the provide recurrence string.
     * @param recurrence The recurrence string that should be parsed.
     */
    public Recurrence(String recurrence) {
        this.recurrence = recurrence;
    }
    
    /*
     * (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    public String toString() {
        return recurrence;
    }
}