Changeset 371
- Timestamp:
- 06/08/07 00:41:03 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cybozu2ical/trunk/lib/WWW/CybozuOffice6/Calendar.pm
r370 r371 19 19 } 20 20 21 sub id { shift->_accessor('id', @_) }22 21 sub url { shift->_accessor('url', @_) } 23 22 sub username { shift->_accessor('username', @_) } … … 109 108 my $self = { 110 109 is_full_day => 0, 111 #modified => DateTime->now,110 modified => DateTime->now, 112 111 }; 113 112 bless $self, $class; … … 116 115 } 117 116 117 sub id { shift->_accessor('id', @_) } 118 118 sub start { shift->_accessor('start', @_) } 119 119 sub end { shift->_accessor('end', @_) } … … 134 134 my($this, %param) = @_; 135 135 136 $this->{id} = $param{id} || '0'; 136 137 $this->{time_zone} = $param{time_zone} || 'Asia/Tokyo'; 137 138 … … 153 154 154 155 $this->{created} = DateTime->from_epoch(epoch => $param{created} || 0); 155 $this->{modified} = DateTime->from_epoch(epoch => $param{created} || 0);156 156 157 157 my $summary = ($param{abbrev} ? $param{abbrev} . ': ' : '') . $param{summary};
