/* Copyright (c) 2011 Artjom Popov */

#import <Foundation/Foundation.h>

@interface NSString(Additions)

@property (nonatomic, retain, readonly) NSString *javascriptString;
@property (nonatomic, retain, readonly) NSString *sha1String;
@property (nonatomic, retain, readonly) NSString *base64Value;
@property (nonatomic, retain, readonly) NSDate *sqlDateValue;
@property (nonatomic, retain, readonly) NSDate *sqlDateTimeValue;
@property (nonatomic, retain, readonly) NSDate *soapDateTimeValue;
@property (nonatomic, retain, readonly) NSString *trimmedString;
@property (nonatomic, assign, readonly) BOOL validEmailAddress;

- (NSString *)decodedStringUsingKey:(NSData *)key;

@end
