//
//  FNLicensingHelpers.h
//  FNLicensing
//
//  Created by Alexander Rinass on 30/06/14.
//  Copyright (c) 2014 Fournova GmbH. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <FNFoundation/FNFoundation.h>

@interface FNLicensingHelpers : NSObject

+ (NSString *)obfuscatedMachineUUID;
+ (NSString *)obfuscatedUserName;
+ (NSString *)obfuscateMachineUUID:(NSString *)machineUUID;
+ (NSString *)obfuscateUserName:(NSString *)userName;
+ (NSUInteger)convertTimeIntervalToDaysLeft:(NSTimeInterval)timeInterval;

+ (NSString *)legacyExpirationDateStringForExpirationDate:(NSDate *)expirationDate;
+ (NSString *)expirationDateStringForExpirationDate:(NSDate *)expirationDate;
+ (NSDate *)expirationDateForExpirationDateString:(NSString *)expirationDateString;

@end
