コード例 #1
0
 /** @since Available in iOS 7.0 and later. */
 public String getDateTime() {
   if (has(Keys.DestinationDateTime())) {
     CFString val = get(Keys.DestinationDateTime(), CFString.class);
     return val.toString();
   }
   return null;
 }
コード例 #2
0
 /** @since Available in iOS 7.0 and later. */
 public CGImageDestinationCopySourceOptions setDateTime(NSDate dateTime) {
   set(Keys.DestinationDateTime(), dateTime);
   return this;
 }
コード例 #3
0
 /** @since Available in iOS 7.0 and later. */
 public CGImageDestinationCopySourceOptions setDateTime(String dateTime) {
   set(Keys.DestinationDateTime(), new CFString(dateTime));
   return this;
 }