text: //
  //  SGTimeLayout.h
  //  SGPlayer
  //
  //  Created by Single on 2018/11/15.
  //  Copyright © 2018 single. All rights reserved.
  //
  
  #import <Foundation/Foundation.h>
  #import "SGTime.h"
  
  @interface SGTimeLayout : NSObject <NSCopying>
  
  /**
   *
   */
  + (instancetype)new NS_UNAVAILABLE;
  - (instancetype)init NS_UNAVAILABLE;
  
  /**
   *
   */
  - (instancetype)initWithStart:(CMTime)start scale:(CMTime)scale;
  
  /**
   *
   */
  @property (nonatomic, readonly) CMTime start;
  
  /**
   *
   */
  @property (nonatomic, readonly) CMTime scale;
  
  /**
   *
   */
  - (CMTime)convertTimeStamp:(CMTime)timeStamp;
  
  /**
   *
   */
  - (CMTime)convertDuration:(CMTime)duration;
  
  /**
   *
   */
  - (BOOL)isEqualToTimeLayout:(SGTimeLayout *)timeLayout;
  
  @end
  