14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync/*
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * The contents of this file are subject to the terms of the Common Development and
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * Distribution License (the License). You may not use this file except in compliance with the
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * License.
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync *
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * specific language governing permission and limitations under the License.
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync *
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * When distributing Covered Software, include this CDDL Header Notice in each file and include
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * Header, with the fields enclosed by brackets [] replaced by your own identifying
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * information: "Portions copyright [year] [name of copyright owner]".
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync *
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * Copyright 2016 ForgeRock AS.
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync */
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync@interface FRADateUtils : NSObject
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync/**
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * Return localized description of the age of an event.
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync *
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * @param eventTime The timestamp of the event.
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * @return A string representation of the age of the event.
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync */
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync- (NSString *)ageOfEventTime:(NSDate *)eventTime;
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync@end
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync